.team-section {
      padding: 60px 0;
    }

    .team-card {
      background: transparent;
      border: none;
    }

    .team-card .img-wrap {
      border-radius: 14px;
      overflow: hidden;
      background: #dce8f5;
      aspect-ratio: 4 / 3;
      width: 100%;
    }

    .team-card .img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }

    .team-card .member-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--brand-dark);
    margin-top: 14px;
    margin-bottom: 2px;
}

    .team-card .member-role {
    font-size: 20px;
    color: var(--brand-dark);
    font-weight: 300;
    margin-bottom: 6px;
}

    .team-card .know-more {
      font-size: 16px;
    color: var(--brand-dark);
    text-decoration: none;
      font-weight: 500;
      display: inline-block;
    }

    .team-card .know-more:hover {
      color: #1a3f7a;
    }

    /* placeholder avatar bg for illustrated cards */
    .team-card .img-wrap.illustrated {
      background: #cddcef;
    }

    /* ── Hover animations ── */

    /* Card lift + shadow on hover */
    .team-card {
      cursor: pointer;
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .team-card-button {
      width: 100%;
      display: block;
      text-align: left;
      background: transparent;
      border: 0;
      padding: 0;
      appearance: none;
      -webkit-appearance: none;
    }
    .team-card a{
      text-decoration:none;
    }
    .team-card-button:focus-visible {
      outline: 3px solid rgba(45, 48, 121, 0.35);
      outline-offset: 6px;
      border-radius: 14px;
    }
    .team-card:hover {
      transform: translateY(-8px);
    }

    /* Image zoom + subtle brightness boost */
    .team-card .img-wrap {
      transition: box-shadow 0.35s ease;
    }
    .team-card:hover .img-wrap {
      box-shadow: 0 20px 40px rgba(44, 94, 168, 0.18);
    }
    .team-card .img-wrap img {
      transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  filter 0.5s ease;
    }
    .team-card:hover .img-wrap img {
      transform: scale(1.06);
      filter: brightness(1.05);
    }

    /* Name slides up slightly + color shift */
    .team-card .member-name {
      transition: color 0.25s ease, transform 0.3s ease;
    }
    .team-card:hover .member-name {
      color: #2c5ea8;
      transform: translateY(-2px);
    }

    /* Role fades in stronger */
    .team-card .member-role {
      transition: color 0.25s ease, transform 0.3s ease 0.03s;
    }
    .team-card:hover .member-role {
      color: #1a3f7a;
      transform: translateY(-2px);
    }

    /* "Know more" arrow slide effect */
    .team-card .know-more {
      transition: color 0.25s ease, gap 0.25s ease, transform 0.3s ease 0.06s;
      display: inline-flex;
      align-items: center;
      gap: 0px;
    }
    .team-card .know-more::after {
      content: ' →';
      display: inline-block;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .team-card:hover .know-more {
      color: #1a3f7a;
      transform: translateY(-2px);
    }
    .team-card:hover .know-more::after {
      opacity: 1;
      transform: translateX(4px);
    }

    /* Entry animation on page load */
    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .col-12 {
      animation: fadeSlideUp 0.55s ease both;
    }
    .col-12:nth-child(1) { animation-delay: 0.05s; }
    .col-12:nth-child(2) { animation-delay: 0.12s; }
    .col-12:nth-child(3) { animation-delay: 0.19s; }
    .col-12:nth-child(4) { animation-delay: 0.26s; }
    .col-12:nth-child(5) { animation-delay: 0.33s; }
    .col-12:nth-child(6) { animation-delay: 0.40s; }
    .col-12:nth-child(7) { animation-delay: 0.47s; }
    .col-12:nth-child(8) { animation-delay: 0.54s; }

    p {
      color: #444444;
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .section-label {
      font-weight: 700;
      color: #222222;
      font-size: 0.95rem;
      margin-top: 1.2rem;
      margin-bottom: 0.5rem;
    }

    ul.dot-list {
      list-style: none;
      padding: 0;
      margin: 0 0 1rem;
    }

    ul.dot-list li {
      position: relative;
      padding-left: 1.2rem;
      color: var(--brand-dark);
      font-size: 20px;
      font-weight: 300;
      line-height: 1.7;
    }

    ul.dot-list li::before {
      content: '•';
      position: absolute;
      left: 0;
      color: var(--brand-dark);
    }

    .profile-img {
      width: 100%;
      border-radius: 6px;
      object-fit: cover;
      object-position: top;
    }

    .photo-placeholder {
      width: 100%;
      height: 360px;
      background: #d0d8e8;
      border-radius: 6px;
    }

    .photo-placeholder img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Team modal */
    .team-modal .modal-content {
      position: relative;
      border: 0;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 25px 80px rgba(15, 26, 70, 0.22);
    }

    .team-modal .modal-body {
      padding: 2rem;
      background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    }

    .team-modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 50px;
      height: 50px;
      border: 0;
      border-radius: 9px;
      background: #2d3079;
      color: #65cbea;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      z-index: 2;
      box-shadow: none;
      cursor: pointer;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .team-modal-close:hover {
      background: #25286a;
      transform: translateY(-1px);
    }

    .team-modal-close svg {
      width: 26px;
      height: 26px;
      stroke: currentColor;
      stroke-width: 2.3;
      stroke-linecap: round;
      fill: none;
    }

    .team-modal-image-wrap {
      border-radius: 18px;
      overflow: hidden;
      background: #dce8f5;
      height: 450px;
    }

    .team-modal-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }

    .team-modal-role {
      font-size: 1rem;
      font-weight: 700;
      color: #2d3079;
      margin-bottom: 0.35rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .team-modal-title {
      font-size: clamp(1.9rem, 3vw, 3rem);
      line-height: 1.1;
      margin-bottom: 1.1rem;
      color: var(--brand-dark);
    }

    .team-modal-copy p,
    .team-modal-copy li {
      font-size: 20px;
      line-height: 1.8;
      color: var(--brand-dark);
    }

    .team-modal-copy h5 {
      margin-top: 1.2rem;
      margin-bottom: 0.7rem;
      font-size: 1.05rem;
      color: var(--brand-dark);
    }

    @media (max-width: 991.98px) {
      .team-modal .modal-body {
        padding: 1.35rem;
      }

      .team-modal-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 44px;
        height: 44px;
      }

      .team-modal-close svg {
        width: 22px;
        height: 22px;
      }

      .team-modal-image-wrap {
        height: 320px;
        margin-top: 60px;
      }
    }
