.alumni-map-wrap {
  width: 100%;
  max-width: 100%;
}

#map {
  width: 100%;
  min-height: 650px;
}

.alumni-popup {
  min-width: 360px;
  max-width: 680px;
  padding: 14px;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f8fbfc, #eef6f8);
  border: 1px solid #d9e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  color: #333;
}

.alumni-popup-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 14px;
}

.alumni-popup-image-wrap {
  flex: 0 0 95px;
}

.alumni-popup-image {
  width: 95px;
  height: 95px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: block;
}

.alumni-popup-info {
  flex: 1;
}

.alumni-popup-title {
  font-size: 17px;
  font-weight: 700;
  color: #025873;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #025873;
}

.alumni-popup-meta {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.alumni-popup-meta div {
  margin-bottom: 4px;
}

.alumni-popup-meta span {
  font-weight: 700;
  color: #111;
}

.alumni-popup-bio {
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  background: #ffffff;
  border: 1px solid #e5ecef;
  border-radius: 10px;
  padding: 12px;
  max-height: 500px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  #map {
    min-height: 500px;
  }

  .alumni-popup {
    min-width: 260px;
    max-width: 92vw;
  }

  .alumni-popup-top {
    flex-direction: column;
  }

  .alumni-popup-image-wrap {
    flex: none;
  }

  .alumni-popup-image {
    width: 80px;
    height: 80px;
  }
}
.blue-text {
  color: #025873;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.map-instruction {
  display: inline-block;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #025873;
  background: #eef6f8;
  border: 1px solid #d6e8ed;
  padding: 10px 18px;
  border-radius: 999px;
  margin: 0 auto 28px;
  font-weight: 600;
}

.map-instruction-wrap {
  text-align: center;
}



.map-instruction::before {
  content: "📍 ";
  font-size: 16px;
}


.faculty-section {
    max-width: 1200px;
    margin: 0 auto;
}

.faculty-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 35px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    min-width: 220px;
}

.filter-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a404c;
    margin-bottom: 8px;
}

.faculty-dropdown {
    width: 100%;
    border: 1px solid #ccd6db;
    border-radius: 8px;
    background: #fff;
    color: #1a404c;
    font-size: 14px;
    box-shadow: none;
}

.faculty-dropdown:focus {
    outline: none;
    border-color: #1a404c;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faculty-card-item.hidden {
    display: none;
}

.our-team {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.our-team .pic {
    position: relative;
    overflow: hidden;
}

.our-team .pic img {
    width: 100%;
    height: auto;
    display: block;
}

.our-team .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -100%;
    left: 0;
    background: linear-gradient(90.07deg, rgba(11,121,194,0.7) -20.02%, rgba(96,181,70,0.7) 112.34%);
    transition: all 0.5s ease 0s;
}

.our-team:hover .over-layer {
    bottom: 0;
}

.our-team .over-layer:before {
    content: "";
    width: 90%;
    height: 0;
    position: absolute;
    top: 5%;
    left: 5%;
    border-top: 5px solid rgba(255,255,255,0.7);
    border-left: 5px solid rgba(255,255,255,0.7);
    opacity: 0;
    transition: all 0.5s ease 0.5s;
}

.our-team:hover .over-layer:before {
    opacity: 1;
    height: 90%;
}

.our-team .social-links {
    padding: 25px;
    margin: 0;
    text-align: left;
    list-style: none;
    position: relative;
    top: 15%;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease 1s;
}

.our-team:hover .social-links {
    opacity: 1;
    transform: scale(1);
}

.our-team .social-links li {
    display: inline-block;
    margin-left: 5px;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
}

.overlay-label {
    color: #000;
    font-weight: 700;
}

.our-team .team-content {
    background: #f3f5f7;
    padding: 25px 22px;
    min-height: 110px;
}

.our-team .team-title {
    font-size: 18px;
    font-weight: 700;
    color: #5d5e5e;
    margin: 0 0 8px 0;
}

.our-team .post {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-style: italic;
    color: #898989;
    margin-bottom: 15px;
}

.our-team .post:after {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background: rgba(26, 64, 76, 1);
    margin-top: 7px;
}

.flag-icon {
    font-size: 18px;
    line-height: 1;
}

.our-team .read {
    display: inline-block;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 14px 10px 50px;
    background: rgba(26, 64, 76, 1);
    z-index: 1;
    position: relative;
    transition: all 0.5s ease 0s;
    text-decoration: none;
}

.our-team .read:hover {
    background: #00a5d7;
    text-decoration: none;
    color: #000;
}

.our-team .read:after {
    content: "";
    width: 36px;
    height: 100%;
    background: rgba(26, 64, 76, 1);
    position: absolute;
    top: 0;
    right: -18px;
    transform: skewX(-45deg);
    z-index: -1;
    transition: all 0.5s ease 0s;
}

.our-team .read:hover:after {
    background: #00a5d7;
}

/* MODAL */
.faculty-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0,0,0,0.72);
    padding: 40px 15px;
}

.faculty-modal-content {
    background: #fff;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    overflow: hidden;
}

.faculty-close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 34px;
    font-weight: 700;
    color: #1a404c;
    cursor: pointer;
    z-index: 10;
}

.faculty-modal-inner {
    padding: 35px 30px 30px;
}

.faculty-profile-box {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    border: 1px solid #dbe5e9;
    border-radius: 12px;
    padding: 20px;
    background: #f9fbfc;
    margin-bottom: 25px;
}

.faculty-profile-image {
    width: 180px;
    flex-shrink: 0;
}

.faculty-profile-image img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.faculty-profile-text {
    flex: 1;
}

.faculty-profile-text h3 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #1a404c;
    line-height: 1.3;
}

.faculty-profile-role {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #3d4a50;
    line-height: 1.6;
}

.faculty-profile-country {
    margin: 0;
    font-size: 15px;
    color: #6d7880 !important;
    font-weight: 500;
}

.faculty-bio-box {
    font-size: 15px;
    line-height: 1.8;
    color: #4e5b61;
}

.faculty-bio-box p {
    margin-bottom: 15px;
}
#modalBio p {color: #3b3b3b;}
@media screen and (max-width: 990px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .faculty-profile-box {
        flex-direction: column;
    }

    .faculty-profile-image {
        width: 100%;
        max-width: 220px;
    }

    .faculty-modal-inner {
        padding: 25px 18px 20px;
    }

    .faculty-profile-text h3 {
        font-size: 22px;
    }
}