

/*--------------------------------------------------------------
# Faculty Blade CSS Code
--------------------------------------------------------------*/

.faculty-section * {
  box-sizing: border-box;
}

/* FACULTY SECTION */
.faculty-section {
  padding: 50px 30px;
  background:linear-gradient(180deg,#eef3fb 0%,#ffffff 100%);
}

.faculty-container {
  max-width: 1100px;
  margin: auto;
}

/* GRID */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

/* CARD */
.faculty-card {
  background: #ffffff;
  border:1px solid rgba(65,93,184,.12);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow:0 10px 30px rgba(11,26,74,.08);
  transition:.35s ease;
  height: 100%;
    display:flex;
  flex-direction:column;
  align-items:center;
}

.faculty-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(11,26,74,.15);
}

/* IMAGE */
.faculty-img {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  background: #edf2ff;
  border:4px solid #d7e2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faculty-img img {
  width: 100%;
  max-width: 140px;
  border-radius: 50%;
}

/* TEXT */
.faculty-card h4 {
  font-size: 16px;
  color:#0B1A4A;
  font-weight:700;
  margin-bottom: 4px;
}

.faculty-card span {
  font-size: 12px;
  color:#6c7aa5;
  display: block;
  margin-bottom: 8px;
  min-height:38px; 
}

/* CTA BUTTON */
.faculty-btn {
  display: inline-block;
  font-size: 13px;
  padding: 7px 25px;
  border-radius: 6px;
  font-weight:600;
  text-transform: uppercase;
  background:#415db8;
  border:2px solid #415db8;
  color:#fff;
  text-decoration: none;
  transition: 0.3s;
  margin-top:auto;       /* always stick to bottom */
  width:140px;           /* same width */
  text-align:center;
}

.faculty-btn:hover {
  background:#ffffff;
  color:#415db8;
  border-color:#415db8;
}

/* ===== Faculty Modal ===== */
.faculty-modal {
  border-radius: 8px;
}

/* Header */
.faculty-modal-header {
  background: #415db8;
  color: #ffffff;
  padding: 18px 25px;
}

/* Image */
.faculty-modal-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: #edf2ff;
  border:4px solid #d7e2ff;
}

/* Text */
.faculty-modal-name {
  font-size: 26px;
  font-weight: 600;
  color: #0B1A4A;
}

.faculty-modal-title {
  font-size: 15px;
  color: #415db8;
  font-weight: 600;
  margin-bottom: 15px;
}

.faculty-modal-text {
  font-size: 15px;
  line-height: 1.8;
  color: #5d6785;
}

/* ===== Animated Popup Modal ===== */
.modal.fade .modal-dialog {
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.35s ease;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
  opacity: 1;
}

.modal.fade.slide-in .modal-dialog {
  margin-top: 120px;
}

/* Modal width & style */
.modal-body {
  padding: 25px 30px;
}

.modal-dialog {
  max-width: 720px;
  margin-top: 120px;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow:0 20px 45px rgba(11,26,74,.20);
  border: none;
}

.faculty-modal-header h5,
.faculty-modal-header .modal-title{
    color:#ffffff !important;
    font-weight:600;
}

.faculty-modal-header .btn-close{
    filter: invert(1);
    opacity:1;
    transition:.3s;
}

.faculty-modal-header .btn-close:hover{
    transform:rotate(90deg);
    opacity:.8;
}

/* Image */
.faculty-modal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border:5px solid #dce6ff;
  margin-bottom: 10px;
}

/* Text */
.faculty-modal-name {
  font-size: 24px;
  font-weight: 600;
  color: #111;
}

.faculty-modal-title {
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.faculty-modal-text {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
