/* cse */

/* =========================================
   CSE FACULTY SECTION
========================================= */

.cse-faculty-section {
  --cse-primary: #337ab7;
  --cse-dark: #182b3b;
  --cse-text: #626b75;
  --cse-border: #e9e9e9;

  padding: 50px 0;
}

/* Section Heading */

.cse-heading {
  margin-bottom: 35px;
}

.cse-eyebrow {
  display: inline-block;
  color: var(--cse-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.cse-heading h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--cse-dark);
  margin-bottom: 12px;
}

.cse-heading h2 span {
  color: var(--cse-primary);
}

.cse-heading p {
  max-width: 570px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--cse-text);
}

/* Featured HOD */

.cse-hod {
  display: grid;
  grid-template-columns: 230px 1fr;
  background: #f7f6f3;
  border: 1px solid var(--cse-border);
  margin-bottom: 45px;
  overflow: hidden;
}

.cse-hod-image {
  min-height: 260px;
  overflow: hidden;
}

.cse-hod-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cse-hod-content {
  padding: 35px 32px;
  align-self: center;
}

.cse-hod-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cse-primary);
  margin-bottom: 13px;
}

.cse-hod-content h3 {
  font-size: 25px;
  font-weight: 700;
  color: var(--cse-dark);
  margin-bottom: 8px;
}

.cse-hod-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--cse-dark);
  margin-bottom: 12px;
}

.cse-hod-content p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--cse-text);
  margin-bottom: 20px;
}

.cse-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 19px;
  background: var(--cse-dark);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.cse-profile-btn:hover {
  background: var(--cse-primary);
  color: #fff !important;
}

.cse-profile-btn span {
  font-size: 17px;
  transition: transform 0.3s ease;
}

.cse-profile-btn:hover span {
  transform: translate(3px, -3px);
}

/* Directory Heading */

.cse-directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}

.cse-directory-heading h3 {
  font-size: 27px;
  font-weight: 700;
  color: var(--cse-dark);
  margin: 0;
}

.cse-total-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--cse-text);
}

/* Search and Filter */

.cse-controls {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 15px;
  margin-bottom: 20px;
}

.cse-search {
  position: relative;
}

.cse-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #89929b;
}

.cse-search input,
.cse-filter-select {
  width: 100%;
  height: 48px;
  border: 1px solid #000;
  background: #fff;
  padding: 0 15px;
  font-size: 13px;
  color: var(--cse-dark);
  outline: none;
  border-radius: 2px;
}

.cse-search input {
  padding-left: 43px;
}

.cse-search input:focus,
.cse-filter-select:focus {
  border-color: var(--cse-primary);
}

/* Results */

.cse-results {
  margin-bottom: 20px;
}

.cse-results p {
  font-size: 13px;
  color: var(--cse-text);
  margin: 0;
}

/* Faculty Grid */

.cse-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Faculty Cards */

.cse-faculty-grid .faculty-card {
  background: #fff;
  border: 1px solid var(--cse-border);
  overflow: hidden;
  transition: all 0.35s ease;
}

.cse-faculty-grid .faculty-card:hover {
  transform: translateY(-6px);
  border-color: #d9c4bb;
  box-shadow: 0 12px 30px rgba(24, 43, 59, 0.08);
}

.cse-faculty-grid .faculty-image {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: #f2f2f2;
}

.cse-faculty-grid .faculty-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.cse-faculty-grid .faculty-card:hover .faculty-image img {
  transform: scale(1.045);
}

.cse-faculty-grid .faculty-info {
  padding: 20px 17px 22px;
}

.cse-faculty-grid .faculty-role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cse-primary);
  margin-bottom: 10px;
}

.cse-faculty-grid .faculty-info h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cse-dark);
  min-height: 48px;
  margin-bottom: 0;
}

/* Load More */

/* CSE LOAD MORE BUTTON */

.cse-load-more-wrap {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 35px;
}

.cse-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  background: #337ab7;
  color: #fff;
  border: 1px solid #337ab7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cse-load-more:hover {
  background: #fff;
  color: #337ab7;
}

.cse-load-more span {
  font-size: 16px;
}

.cse-no-results {
  display: none;
  text-align: center;
  padding: 35px 15px;
}

/* No Results */

.cse-no-results {
  display: none;
  text-align: center;
  padding: 45px 15px;
}

.cse-no-results.show {
  display: block;
}

.cse-no-results i {
  font-size: 35px;
  color: var(--cse-primary);
  margin-bottom: 15px;
}

.cse-no-results h3 {
  font-size: 21px;
  color: var(--cse-dark);
}

.cse-no-results p {
  font-size: 13px;
  color: var(--cse-text);
}

/* Responsive */

@media (max-width: 991px) {
  .cse-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .cse-hod {
    grid-template-columns: 190px 1fr;
  }

  .cse-hod-content {
    padding: 25px;
  }
}

@media (max-width: 575px) {
  .cse-faculty-section {
    padding: 30px 0;
  }

  .cse-heading h2 {
    font-size: 29px;
  }

  .cse-heading p {
    font-size: 13px;
  }

  .cse-hod {
    grid-template-columns: 1fr;
  }

  .cse-hod-image {
    height: 280px;
    min-height: 0;
  }

  .cse-hod-image img {
    height: 280px;
    min-height: 0;
  }

  .cse-hod-content {
    padding: 25px 20px;
  }

  .cse-directory-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .cse-directory-heading h3 {
    font-size: 24px;
  }

  .cse-controls {
    grid-template-columns: 1fr;
  }

  .cse-faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cse-faculty-grid .faculty-image {
    aspect-ratio: 4 / 3.5;
  }

  .cse-faculty-grid .faculty-info h3 {
    min-height: auto;
  }
}

/* Chemistry faculty */

/* ==========================================
   CHEMISTRY FACULTY DIRECTORY
========================================== */

.chem-directory {
  width: 100%;
  padding: 40px 0;
}

/* Heading */
.chem-heading {
  margin-bottom: 45px;
}

.chem-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #337ab7;
  margin-bottom: 12px;
}

.chem-heading h2 {
  font-size: 38px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.chem-heading h2 span {
  color: #337ab7;
}

.chem-heading p {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/* Featured HOD */
.chem-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 35px;
  padding: 30px;
  margin-bottom: 55px;
  background: #f8f6f4;
  border: 1px solid #eee8e4;
}

.chem-featured-image {
  height: 320px;
  overflow: hidden;
}

.chem-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.chem-featured-content {
  padding: 15px 10px;
}

.chem-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #337ab7;
  margin-bottom: 15px;
}

.chem-featured-content h3 {
  font-size: 27px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.chem-designation {
  font-size: 15px;
  font-weight: 500;
  color: #337ab7;
  margin-bottom: 15px;
}

.chem-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
}

/* Faculty Grid */
.chem-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.chem-faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.chem-faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.chem-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.chem-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.chem-faculty-card:hover .chem-card-image img {
  transform: scale(1.04);
}

.chem-card-content {
  padding: 22px 20px;
}

.chem-card-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.chem-card-designation {
  font-size: 14px;
  color: #337ab7;
  margin-bottom: 8px;
}

.chem-department {
  display: block;
  font-size: 12px;
  color: #888;
}

/* Responsive */
@media (max-width: 991px) {
  .chem-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chem-featured {
    grid-template-columns: 230px 1fr;
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .chem-directory {
    padding: 25px 0;
  }

  .chem-heading h2 {
    font-size: 30px;
  }

  .chem-featured {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .chem-featured-image {
    height: 300px;
    max-width: 280px;
  }

  .chem-featured-content {
    padding: 0;
  }

  .chem-faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chem-card-image {
    height: 320px;
  }
}

/* ==========================================
   ECE FACULTY DIRECTORY
========================================== */

.ece-directory {
  width: 100%;
  padding: 40px 0;
}

/* SECTION HEADING */
.ece-heading {
  margin-bottom: 45px;
}

.ece-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #337ab7;
  margin-bottom: 12px;
}

.ece-heading h2 {
  font-size: 38px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.ece-heading h2 span {
  color: #337ab7;
}

.ece-heading p {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
}

/* FEATURED HOD */
.ece-featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 35px;
  padding: 30px;
  margin-bottom: 55px;
  background: #f8f6f4;
  border: 1px solid #eee8e4;
}

.ece-featured-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.ece-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ece-featured-content {
  padding: 15px 10px;
}

.ece-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #337ab7;
  margin-bottom: 15px;
}

.ece-featured-content h3 {
  font-size: 27px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.ece-designation {
  font-size: 15px;
  font-weight: 500;
  color: #337ab7;
  margin-bottom: 15px;
}

.ece-description {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

/* PROFILE BUTTON */
.ece-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: #337ab7;
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ece-profile-btn:hover {
  background: #337ab7;
  color: #fff;
}

.ece-profile-btn span {
  font-size: 17px;
}

/* FACULTY GRID */
.ece-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* FACULTY CARD */
.ece-faculty-grid .faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ece-faculty-grid .faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

/* FACULTY IMAGE */
.ece-faculty-grid .faculty-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.ece-faculty-grid .faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.ece-faculty-grid .faculty-card:hover .faculty-image img {
  transform: scale(1.04);
}

/* FACULTY DETAILS */
.ece-faculty-grid .faculty-info {
  padding: 22px 20px;
}

.ece-faculty-grid .faculty-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.ece-faculty-grid .faculty-role {
  display: inline-block;
  font-size: 14px;
  color: #337ab7;
  margin-bottom: 0;
}

/* LOAD MORE */
.ece-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ece-load-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 25px;
  border: 1px solid #337ab7;
  background: transparent;
  color: #337ab7;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ece-load-more:hover {
  background: #337ab7;
  color: #fff;
}

.ece-load-more span {
  font-size: 17px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .ece-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ece-featured {
    grid-template-columns: 230px 1fr;
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .ece-directory {
    padding: 25px 0;
  }

  .ece-heading h2 {
    font-size: 30px;
  }

  .ece-featured {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .ece-featured-image {
    height: 300px;
    max-width: 280px;
  }

  .ece-featured-content {
    padding: 0;
  }

  .ece-faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ece-faculty-grid .faculty-image {
    height: 320px;
  }
}

/* =========================================
   AERO FACULTY DIRECTORY
========================================= */

.aero-directory {
  width: 100%;
  font-family: "Poppins", sans-serif;
}

/* SECTION HEADING */

.aero-heading {
  margin-bottom: 35px;
}

.aero-eyebrow {
  display: inline-block;
  color: #337ab7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.aero-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: #202020;
  margin-bottom: 14px;
}

.aero-heading h2 span {
  color: #337ab7;
}

.aero-heading p {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* FEATURED HOD */

.aero-featured {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 35px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee7e3;
}

.aero-featured-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #eee;
}

.aero-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.aero-featured:hover .aero-featured-image img {
  transform: scale(1.04);
}

.aero-featured-content {
  padding: 10px 0;
}

.aero-tag {
  display: inline-block;
  padding: 7px 13px;
  background: #337ab7;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-bottom: 15px;
}

.aero-featured-content h3 {
  color: #222;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.aero-designation {
  color: #337ab7;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.aero-description {
  color: #777;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.aero-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #337ab7;
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.aero-profile-btn:hover {
  color: #337ab7;
}

.aero-profile-btn span {
  font-size: 16px;
}

/* FACULTY GRID */

.aero-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* FACULTY CARD */

.aero-faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.aero-faculty-card:hover {
  transform: translateY(-5px);
  border-color: #d6b9ad;
}

/* FACULTY IMAGE */

.aero-card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f3f1ef;
}

.aero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.aero-faculty-card:hover .aero-card-image img {
  transform: scale(1.05);
}

/* FACULTY DETAILS */

.aero-card-info {
  padding: 20px 16px;
  min-height: 115px;
}

.aero-card-role {
  display: block;
  color: #337ab7;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 9px;
}

.aero-card-info h3 {
  color: #252525;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* TABLET */

@media (max-width: 991px) {
  .aero-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .aero-featured {
    grid-template-columns: 230px 1fr;
    gap: 25px;
  }

  .aero-featured-image {
    height: 270px;
  }

  .aero-card-image {
    height: 240px;
  }
}

/* MOBILE */

@media (max-width: 575px) {
  .aero-heading {
    margin-bottom: 25px;
  }

  .aero-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    margin-bottom: 30px;
  }

  .aero-featured-image {
    height: 300px;
  }

  .aero-featured-content h3 {
    font-size: 21px;
  }

  .aero-faculty-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .aero-card-image {
    height: 320px;
  }

  .aero-card-info {
    padding: 18px;
    min-height: auto;
  }
}

/* =========================================
   CSE AI & ML FACULTY DIRECTORY
========================================= */

.aiml-directory {
  width: 100%;
  font-family: "Poppins", sans-serif;
}

/* SECTION HEADING */

.aiml-heading {
  margin-bottom: 35px;
}

.aiml-eyebrow {
  display: inline-block;
  color: #337ab7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.aiml-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: #202020;
  margin-bottom: 14px;
}

.aiml-heading h2 span {
  color: #337ab7;
}

.aiml-heading p {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* FEATURED HOD */

.aiml-featured {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 35px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee7e3;
}

.aiml-featured-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #eee;
}

.aiml-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.aiml-featured:hover .aiml-featured-image img {
  transform: scale(1.04);
}

.aiml-featured-content {
  padding: 10px 0;
}

.aiml-tag {
  display: inline-block;
  padding: 7px 13px;
  background: #337ab7;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-bottom: 15px;
}

.aiml-featured-content h3 {
  color: #222;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.aiml-designation {
  color: #337ab7;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.aiml-description {
  color: #777;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.aiml-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #222;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #337ab7;
  /* padding-bottom: 6px; */
  padding: 6px;
  transition: all 0.3s ease;
}

.aiml-profile-btn:hover {
  color: #337ab7;
}

.aiml-profile-btn span {
  font-size: 16px;
}

/* FACULTY GRID */

.aiml-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* JAVASCRIPT GENERATED FACULTY CARDS
   These selectors are scoped to AI & ML only.
*/

.aiml-faculty-grid .faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.aiml-faculty-grid .faculty-card:hover {
  transform: translateY(-5px);
  border-color: #337ab7;
}

.aiml-faculty-grid .faculty-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f3f1ef;
}

.aiml-faculty-grid .faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.aiml-faculty-grid .faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.aiml-faculty-grid .faculty-info {
  padding: 20px 16px;
  min-height: 115px;
}

.aiml-faculty-grid .faculty-info h3 {
  color: #252525;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.aiml-faculty-grid .faculty-role {
  display: block;
  color: #337ab7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 9px;
}

/* TABLET */

@media (max-width: 991px) {
  .aiml-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .aiml-featured {
    grid-template-columns: 230px 1fr;
    gap: 25px;
  }

  .aiml-featured-image {
    height: 270px;
  }

  .aiml-faculty-grid .faculty-image {
    height: 240px;
  }
}

/* MOBILE */

@media (max-width: 575px) {
  .aiml-heading {
    margin-bottom: 25px;
  }

  .aiml-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    margin-bottom: 30px;
  }

  .aiml-featured-image {
    height: 300px;
  }

  .aiml-featured-content h3 {
    font-size: 21px;
  }

  .aiml-faculty-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .aiml-faculty-grid .faculty-image {
    height: 320px;
  }

  .aiml-faculty-grid .faculty-info {
    padding: 18px;
    min-height: auto;
  }
}

/* =========================================
   CSE DATA SCIENCE FACULTY DIRECTORY
========================================= */

.ds-directory {
  width: 100%;
  font-family: "Poppins", sans-serif;
}

/* SECTION HEADING */

.ds-heading {
  margin-bottom: 35px;
}

.ds-eyebrow {
  display: inline-block;
  color: #337ab7;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ds-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: #202020;
  margin-bottom: 14px;
}

.ds-heading h2 span {
  color: #337ab7;
}

.ds-heading p {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* FEATURED HOD */

.ds-featured {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 35px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee7e3;
}

.ds-featured-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #eee;
}

.ds-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.ds-featured:hover .ds-featured-image img {
  transform: scale(1.04);
}

.ds-featured-content {
  padding: 10px 0;
}

.ds-tag {
  display: inline-block;
  padding: 7px 13px;
  background: #337ab7;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  margin-bottom: 15px;
}

.ds-featured-content h3 {
  color: #222;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ds-designation {
  color: #337ab7;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.ds-description {
  color: #777;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* FACULTY GRID */

.ds-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* JAVASCRIPT GENERATED CARDS
   Scoped only inside DS faculty grid
*/

.ds-faculty-grid .faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.ds-faculty-grid .faculty-card:hover {
  transform: translateY(-5px);
  border-color: #d6b9ad;
}

.ds-faculty-grid .faculty-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f3f1ef;
}

.ds-faculty-grid .faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.ds-faculty-grid .faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.ds-faculty-grid .faculty-info {
  padding: 20px 16px;
  min-height: 115px;
}

.ds-faculty-grid .faculty-info h3 {
  color: #252525;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.ds-faculty-grid .faculty-role {
  display: block;
  color: #337ab7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 9px;
}

/* LOAD MORE */

.ds-load-more-wrap {
  width: 100%;
  text-align: center;
  margin-top: 35px;
}

.ds-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  background: #337ab7;
  color: #fff;
  border: 1px solid #337ab7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ds-load-more:hover {
  background: #fff;
  color: #337ab7;
}

.ds-load-more span {
  font-size: 16px;
}

/* TABLET */

@media (max-width: 991px) {
  .ds-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ds-featured {
    grid-template-columns: 230px 1fr;
    gap: 25px;
  }

  .ds-featured-image {
    height: 270px;
  }

  .ds-faculty-grid .faculty-image {
    height: 240px;
  }
}

/* MOBILE */

@media (max-width: 575px) {
  .ds-heading {
    margin-bottom: 25px;
  }

  .ds-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    margin-bottom: 30px;
  }

  .ds-featured-image {
    height: 300px;
  }

  .ds-featured-content h3 {
    font-size: 21px;
  }

  .ds-faculty-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ds-faculty-grid .faculty-image {
    height: 320px;
  }

  .ds-faculty-grid .faculty-info {
    padding: 18px;
    min-height: auto;
  }
}

/* =========================================
   ISE FACULTY DIRECTORY
========================================= */

.ise-faculty-directory {
  width: 100%;
  padding: 10px 0 50px;
}

/* SECTION HEADING */

.ise-faculty-heading {
  margin-bottom: 35px;
}

.ise-faculty-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #337ab7;
  margin-bottom: 12px;
}

.ise-faculty-heading h2 {
  font-size: 38px;
  font-weight: 600;
  color: #202020;
  margin-bottom: 15px;
}

.ise-faculty-heading h2 span {
  color: #337ab7;
}

.ise-faculty-heading p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* =========================================
   FEATURED HOD
========================================= */

.ise-faculty-featured {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 30px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee8e4;
  border-radius: 8px;
}

.ise-featured-image {
  width: 100%;
  height: 245px;
  overflow: hidden;
  border-radius: 5px;
}

.ise-featured-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.ise-faculty-featured:hover .ise-featured-image img {
  transform: scale(1.04);
}

.ise-featured-content {
  padding: 10px 0;
}

.ise-faculty-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  background: #337ab7;
  padding: 8px 13px;
  margin-bottom: 17px;
  border-radius: 2px;
}

.ise-featured-content h3 {
  font-size: 25px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.ise-faculty-designation {
  font-size: 14px;
  font-weight: 600;
  color: #337ab7;
  margin-bottom: 14px;
}

.ise-faculty-description {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* =========================================
   FACULTY GRID
========================================= */

.ise-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* FACULTY CARD */

.ise-faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.35s ease;
}

.ise-faculty-card:hover {
  transform: translateY(-5px);
  border-color: #337ab7;
}

.ise-faculty-card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f4f1ef;
}

.ise-faculty-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.ise-faculty-card:hover .ise-faculty-card-image img {
  transform: scale(1.05);
}

.ise-faculty-card-content {
  padding: 18px 15px 20px;
}

.ise-faculty-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #242424;
  margin-bottom: 7px;
}

.ise-faculty-card-content p {
  font-size: 13px;
  line-height: 1.6;
  color: #888;
  margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199px) {
  .ise-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ise-faculty-directory {
    padding-top: 0;
  }

  .ise-faculty-heading h2 {
    font-size: 30px;
  }

  .ise-faculty-heading p {
    font-size: 14px;
  }

  .ise-faculty-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
    margin-bottom: 35px;
  }

  .ise-featured-image {
    height: 280px;
    max-width: 280px;
    margin: 0 auto;
  }

  .ise-featured-content {
    text-align: center;
  }

  .ise-featured-content h3 {
    font-size: 22px;
  }

  .ise-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .ise-faculty-card-image {
    height: 190px;
  }

  .ise-faculty-card-content {
    padding: 14px 10px;
  }

  .ise-faculty-card-content h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .ise-faculty-grid {
    grid-template-columns: 1fr;
  }

  .ise-faculty-card-image {
    height: 300px;
  }
}

/* ==========================================
   MATHEMATICS FACULTY DIRECTORY
========================================== */

.maths-faculty-directory {
  width: 100%;
  padding: 10px 0 50px;
}

/* SECTION HEADING */

.maths-faculty-heading {
  margin-bottom: 35px;
}

.maths-faculty-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #337ab7;
  margin-bottom: 12px;
}

.maths-faculty-heading h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  margin-bottom: 15px;
}

.maths-faculty-heading h2 span {
  color: #337ab7;
}

.maths-faculty-heading p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* ==========================================
   FEATURED HOD SECTION
========================================== */

.maths-faculty-featured {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 30px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee8e4;
  border-radius: 6px;
}

.maths-featured-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 4px;
}

.maths-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.maths-faculty-featured:hover .maths-featured-image img {
  transform: scale(1.04);
}

.maths-featured-content {
  padding: 10px 0;
}

.maths-faculty-tag {
  display: inline-block;
  padding: 8px 13px;
  margin-bottom: 17px;
  background: #337ab7;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 2px;
}

.maths-featured-content h3 {
  font-size: 25px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.maths-faculty-designation {
  font-size: 14px;
  font-weight: 600;
  color: #337ab7;
  margin-bottom: 14px;
}

.maths-faculty-description {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* ==========================================
   MATHEMATICS FACULTY GRID
========================================== */

.maths-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* FACULTY CARD */

.maths-faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.35s ease;
}

.maths-faculty-card:hover {
  transform: translateY(-5px);
  border-color: #337ab7;
}

/* FACULTY IMAGE */

.maths-faculty-card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f4f1ef;
}

.maths-faculty-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.maths-faculty-card:hover .maths-faculty-card-image img {
  transform: scale(1.05);
}

/* FACULTY CONTENT */

.maths-faculty-card-content {
  padding: 18px 15px 20px;
}

.maths-faculty-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
  margin-bottom: 7px;
}

.maths-faculty-card-content .maths-faculty-designation {
  font-size: 13px;
  font-weight: 500;
  color: #777;
  margin-bottom: 8px;
}

.maths-faculty-department {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #337ab7;
  font-weight: 600;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1199px) {
  .maths-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* TABLET AND MOBILE */

@media (max-width: 767px) {
  .maths-faculty-directory {
    padding: 0 0 35px;
  }

  .maths-faculty-heading {
    margin-bottom: 25px;
  }

  .maths-faculty-heading h2 {
    font-size: 30px;
  }

  .maths-faculty-heading p {
    font-size: 14px;
  }

  .maths-faculty-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
    margin-bottom: 35px;
  }

  .maths-featured-image {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .maths-featured-content {
    text-align: center;
  }

  .maths-featured-content h3 {
    font-size: 22px;
  }

  .maths-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .maths-faculty-card-image {
    height: 190px;
  }

  .maths-faculty-card-content {
    padding: 14px 10px;
  }

  .maths-faculty-card-content h3 {
    font-size: 14px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .maths-faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .maths-faculty-card-image {
    height: 300px;
  }
}

/* ==========================================
   PHYSICS FACULTY DIRECTORY
========================================== */

.physics-faculty-directory {
  width: 100%;
  padding: 10px 0 50px;
}

/* SECTION HEADING */

.physics-faculty-heading {
  margin-bottom: 35px;
}

.physics-faculty-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #337ab7;
  margin-bottom: 12px;
}

.physics-faculty-heading h2 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  margin-bottom: 15px;
}

.physics-faculty-heading h2 span {
  color: #337ab7;
}

.physics-faculty-heading p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* ==========================================
   FEATURED HOD
========================================== */

.physics-faculty-featured {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: 30px;
  padding: 25px;
  margin-bottom: 45px;
  background: #f8f6f4;
  border: 1px solid #eee8e4;
  border-radius: 6px;
}

.physics-featured-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 4px;
}

.physics-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.physics-faculty-featured:hover .physics-featured-image img {
  transform: scale(1.04);
}

.physics-featured-content {
  padding: 10px 0;
}

.physics-faculty-tag {
  display: inline-block;
  padding: 8px 13px;
  margin-bottom: 17px;
  background: #337ab7;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 2px;
}

.physics-featured-content h3 {
  font-size: 25px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.physics-faculty-designation {
  font-size: 14px;
  font-weight: 600;
  color: #337ab7;
  margin-bottom: 14px;
}

.physics-faculty-description {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* ==========================================
   PHYSICS FACULTY GRID
========================================== */

.physics-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

/* FACULTY CARD */

.physics-faculty-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.35s ease;
}

.physics-faculty-card:hover {
  transform: translateY(-5px);
  border-color: #337ab7;
}

/* FACULTY IMAGE */

.physics-faculty-card-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f4f1ef;
}

.physics-faculty-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.physics-faculty-card:hover .physics-faculty-card-image img {
  transform: scale(1.05);
}

/* FACULTY CONTENT */

.physics-faculty-card-content {
  padding: 18px 15px 20px;
}

.physics-faculty-card-content h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #222;
  margin-bottom: 7px;
}

.physics-faculty-card-content .physics-faculty-designation {
  font-size: 13px;
  font-weight: 500;
  color: #777;
  margin-bottom: 8px;
}

.physics-faculty-department {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: #337ab7;
  font-weight: 600;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 1199px) {
  .physics-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* TABLET & MOBILE */

@media (max-width: 767px) {
  .physics-faculty-directory {
    padding: 0 0 35px;
  }

  .physics-faculty-heading {
    margin-bottom: 25px;
  }

  .physics-faculty-heading h2 {
    font-size: 30px;
  }

  .physics-faculty-heading p {
    font-size: 14px;
  }

  .physics-faculty-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
    margin-bottom: 35px;
  }

  .physics-featured-image {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
  }

  .physics-featured-content {
    text-align: center;
  }

  .physics-featured-content h3 {
    font-size: 22px;
  }

  .physics-faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .physics-faculty-card-image {
    height: 190px;
  }

  .physics-faculty-card-content {
    padding: 14px 10px;
  }

  .physics-faculty-card-content h3 {
    font-size: 14px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .physics-faculty-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .physics-faculty-card-image {
    height: 300px;
  }
}
