.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;
    }
}



/**Poup**/
/* =========================================================
   FACULTY / ALUMNI PROFILE MODAL
   ========================================================= */

#facultyProfileModal {
    --faculty-primary: #025873;
    --faculty-gold: #bb9e57;
    --faculty-text: #1f2937;
    --faculty-muted: #6b7280;
    --faculty-border: #e5e7eb;
    --faculty-bg-soft: #f7f9fa;
}


/* Modal overlay */
#facultyProfileModal.faculty-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;

    width: 100%;
    height: 100%;

    padding: 40px 20px;

    background: rgba(5, 20, 28, 0.75);

    overflow-y: auto;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* Main modal container */
#facultyProfileModal .faculty-modal-content {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 20px auto;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        0 5px 20px rgba(0, 0, 0, 0.12);

    overflow: hidden;

    animation: facultyModalIn 0.28s ease-out;
}


/* Gold accent at top */
#facultyProfileModal .faculty-modal-content::before {
    content: "";

    display: block;

    width: 100%;
    height: 5px;

    background: var(--faculty-gold);
}


/* Modal animation */
@keyframes facultyModalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Close button */
#facultyProfileModal .faculty-close {
    position: absolute;
    top: 18px;
    right: 18px;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    color: #4b5563;

    font-size: 30px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


#facultyProfileModal .faculty-close:hover {
    background: var(--faculty-primary);
    color: #ffffff;

    transform: rotate(90deg);
}


/* =========================================================
   PROFILE HEADER
   ========================================================= */

#facultyProfileModal .faculty-profile-box {
    display: flex;
    align-items: center;
    gap: 34px;

    padding: 45px 50px 40px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f9fa 100%
        );

    border-bottom: 1px solid var(--faculty-border);
}


/* Profile image */
#facultyProfileModal .faculty-profile-image {
    flex: 0 0 190px;

    position: relative;
}


/* Decorative border */
#facultyProfileModal .faculty-profile-image::before {
    content: "";

    position: absolute;
    inset: -7px;

    border: 2px solid var(--faculty-gold);
    border-radius: 18px;

    z-index: 0;
}


#facultyProfileModal .faculty-profile-image img {
    position: relative;
    z-index: 1;

    display: block;

    width: 190px;
    height: 220px;

    object-fit: cover;
    object-position: top center;

    border-radius: 14px;

    background: #eeeeee;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* Text side */
#facultyProfileModal .faculty-profile-text {
    flex: 1;
    min-width: 0;

    padding-right: 35px;
}


/* Small ambassador label */
#facultyProfileModal .faculty-profile-label {
    display: inline-block;

    margin-bottom: 10px;
    padding: 6px 12px;

    border-radius: 30px;

    background: rgba(187, 158, 87, 0.14);

    color: #8a7134;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


/* Name */
#facultyProfileModal .faculty-profile-name {
    margin: 0 0 8px;

    color: var(--faculty-primary);

    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}


/* Programme */
#facultyProfileModal .faculty-profile-role {
    margin: 0 0 10px;

    color: var(--faculty-text);

    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}


/* Country */
#facultyProfileModal .faculty-profile-country {
    display: inline-block;

    margin: 0 0 20px;
    padding: 6px 12px;

    border: 1px solid #dce5e8;
    border-radius: 30px;

    background: #ffffff;

    color: #374151;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

#facultyProfileModal .faculty-profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;

    margin-top: 3px;
}


#facultyProfileModal .faculty-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 210px;
}


/* Icon */
#facultyProfileModal .faculty-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: var(--faculty-primary);

    color: #ffffff;

    font-size: 15px;
}


/* Content beside icon */
#facultyProfileModal .faculty-contact-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


#facultyProfileModal .faculty-contact-label {
    margin-bottom: 1px;

    color: var(--faculty-muted);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


#facultyProfileModal .faculty-contact-value {
    color: var(--faculty-primary);

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}


#facultyProfileModal .faculty-contact-value:hover {
    color: var(--faculty-gold);
    text-decoration: underline;
}


/* =========================================================
   BIOGRAPHY
   ========================================================= */

#facultyProfileModal .faculty-bio-box {
    padding: 38px 50px 45px;

    background: #ffffff;
}


#facultyProfileModal .faculty-bio-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}


#facultyProfileModal .faculty-bio-heading-line {
    display: block;

    width: 4px;
    height: 24px;

    border-radius: 4px;

    background: var(--faculty-gold);
}


#facultyProfileModal .faculty-bio-heading h4 {
    margin: 0;

    color: var(--faculty-primary);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}


#facultyProfileModal .faculty-bio-content {
    color: var(--faculty-text);

    font-size: 15px;
    line-height: 1.8;
}


#facultyProfileModal .faculty-bio-content p {
    margin: 0 0 16px;
}


#facultyProfileModal .faculty-bio-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    #facultyProfileModal.faculty-modal {
        padding: 20px 15px;
    }

    #facultyProfileModal .faculty-modal-content {
        margin: 10px auto;
        border-radius: 14px;
    }

    #facultyProfileModal .faculty-profile-box {
        flex-direction: column;

        gap: 25px;

        padding: 45px 30px 30px;

        text-align: center;
    }

    #facultyProfileModal .faculty-profile-text {
        width: 100%;

        padding-right: 0;
    }

    #facultyProfileModal .faculty-profile-image {
        flex: none;

        width: 160px;
    }

    #facultyProfileModal .faculty-profile-image img {
        width: 160px;
        height: 185px;
    }

    #facultyProfileModal .faculty-profile-name {
        font-size: 25px;
    }

    #facultyProfileModal .faculty-profile-contact {
        justify-content: center;
    }

    #facultyProfileModal .faculty-contact-row {
        text-align: left;
    }

    #facultyProfileModal .faculty-bio-box {
        padding: 30px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    #facultyProfileModal.faculty-modal {
        padding: 10px;
    }

    #facultyProfileModal .faculty-modal-content {
        margin: 5px auto;
    }

    #facultyProfileModal .faculty-close {
        top: 13px;
        right: 13px;

        width: 36px;
        height: 36px;

        font-size: 27px;
    }

    #facultyProfileModal .faculty-profile-box {
        padding: 45px 20px 25px;
    }

    #facultyProfileModal .faculty-profile-image {
        width: 140px;
    }

    #facultyProfileModal .faculty-profile-image img {
        width: 140px;
        height: 165px;
    }

    #facultyProfileModal .faculty-profile-name {
        font-size: 22px;
    }

    #facultyProfileModal .faculty-profile-role {
        font-size: 14px;
    }

    #facultyProfileModal .faculty-profile-contact {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        margin-top: 5px;
    }

    #facultyProfileModal .faculty-contact-row {
        width: 100%;
        min-width: 0;

        padding: 10px 12px;

        border: 1px solid var(--faculty-border);
        border-radius: 10px;

        background: #ffffff;
    }

    #facultyProfileModal .faculty-bio-box {
        padding: 25px 20px 30px;
    }

    #facultyProfileModal .faculty-bio-content {
        font-size: 14px;
        line-height: 1.75;
    }
}