/* Profile Card */
.profile-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 25px;   /* <- add spacing between cards */
}


    .profile-photo {
      width: 75%;
      border-radius: 14px;
      object-fit: cover;
      margin-left: 3rem;
    }

    .profile-name {
      font-size: 3.1rem;
      font-weight: 500;
    }

    .bio {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }

    .bio ul {
      margin-top: 8px;
      padding-left: 18px;
    }

    .tag {
      display: inline-block;
      background: #e4ecff;
      color: #0b4dda;
      padding: 4px 10px;
      border-radius: 50px;
      font-size: 11px;
      margin-right: 6px;
    }

    .focus-title {
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #ff6363;
      margin-top: 14px;
      margin-bottom: 1rem;
    }

    .focus-box {
      background: #f9fbff;
      padding: 10px;
      border-radius: 10px;
      border: 1px solid #e2e6ef;
      height: 100%;
    }

    @media (max-width: 767px) {
      .profile-photo {
        max-width: 100%;
        margin-bottom: 16px;
      }
    }
    /* SALES TEAM STYLES */
.sales-section {
  padding: 50px 0;
}

.team-img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  border-radius: 12px;
}

.team-name {
  font-size: 18px;
  font-weight: 600;
  margin-top: 12px;
  color: #1f2933;
}

.section-wrapper {
      max-width: 900px;
      margin: 30px auto;
      padding: 0 20px;
      text-align: center;
    }

    .badge {
      display: inline-block;
      padding: 6px 18px;
      border-radius: 999px;
      background: #002a7a;
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.03em;
    }

    .section-title {
      margin-top: 18px;
      margin-bottom: 12px;
      font-size: 32px;
      line-height: 1.2;
      font-weight: 600;
      color: #ff6363;
    }

    .section-subtitle {
      max-width: 650px;
      margin: 0 auto;
      font-size: 14px;
      line-height: 1.6;
      color: #4f5b6b;
    }

    /* ---------- GRID LAYOUT (NO .row) ---------- */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 40px;
      margin-top: 30px;
    }

    /* ---------- FLIP CARD BASE ---------- */
    .flip-card {
      position: relative;
      perspective: 1000px;     /* enables 3D */
      height: 340px;

    }

    .flip-card-inner {
      position: relative;
      width: 100%;
      height: 106%;
      transform-style: preserve-3d;
      transition: transform 0.6s ease;
    }

    .flip-card:hover .flip-card-inner {
      transform: rotateY(180deg);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
    }

    .flip-card-front .team-name {
      margin-top: 12px;
      
    }
    .flip-card-back {
      transform: rotateY(180deg);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }


    /* ---------- OPTIONAL: MOBILE TWEAKS ---------- */
    @media (max-width: 600px) {
      .flip-card {
        height: 320px;
      }
    }

/* Main card container */
.card-box {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

/* Tablet */
@media (max-width: 992px) {
  .card-box {
    padding: 28px;
    border-radius: 14px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .card-box {
    padding: 22px;
    border-radius: 12px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .card-box {
    padding: 18px;
    border-radius: 10px;
  }
}
/* Name style */
.team-name {
    font-weight: 600;
    color: #333;
    margin-top: 12px;
}

/* Role style */
.team-role {
  color: #da3a3a;
  font-size: 13.4px;
}

/* Tablet */
@media (max-width: 992px) {
  .team-role {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .team-role {
    font-size: 12.5px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .team-role {
    font-size: 11px;
  }
}
.social-icons {
    display: flex;
    gap: 12px;  /* spacing */
    margin-top: 10px;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f4f4f4;
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ff6363;  /* hover color */
    color: #fff;
    transform: translateY(-3px);
}