/* Grid Layout */
      .trainer-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: auto;
        margin-top: 150px;
      }

      /* Card */
      .trainer-card {
        position: relative;
        /* background: url(assets/boxing-ab-fitness.jpg); */
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 18px;
        padding: 100px 20px 30px;
        text-align: center;
        transition: transform 0.4s ease;
        border: 5px solid #f7ea0f;
        background: #efefef;
      }

      .trainer-card:hover {
        transform: translateY(-5px);
      }
      /* .one{

}
.two{

}
.three{

} */
      .second-row {
        top: 100px;
      }


      .third-row {
        top: 200px;
      }
      .fourth-row {
        top: 300px;
      }

      /* Image Overlap */
      .trainer-image {
        position: absolute;
        top: -90px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 5px solid #f7ea0f;
        overflow: hidden;
        background: #000;
      }

      .trainer-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      /* Zoom Effect */
      .trainer-card:hover .trainer-image img {
        transform: scale(1.15);
      }

      .trainer-card h3 {
        margin: 10px;
        color: #000;
        font-weight: 600;
      }
      .trainer-card p {
        margin: 10px;
        color: #333;
      }

      /* Button */
      .trainer-card button {
        padding: 10px 28px;
        background: transparent;
        border: 2px solid #333;
        color: #111;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 30px;
      }

      .trainer-card button:hover {
        background: #333;
        color: #fff;
      }

      /* Modal Background */
      .modal {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.85);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 100000;
      }

      .modal.active {
        opacity: 1;
        pointer-events: auto;
      }

      /* Modal Box */
      .modal-box {
        position: relative;
        /* background: url(assets/trainers-profile-bg.jpg); */
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 20px;
        padding: 60px 30px 30px 50px;
        width: 80%;
        height: auto;
        background: #fff;
        border: 5px solid #f7ea0f;
      }

      /* Close Button */
      .modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        color: #111;
        cursor: pointer;
      }

      /* Overlapping Image */
      .modal-image {
        position: absolute;
        left: -90px;
        top: -90px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 5px solid #f7ea0f;
        overflow: hidden;
        background: #000;
      }

      .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      /* Content */
      .modal-content h2 {
        margin-top: 0;
        margin-bottom: 15px;
      }

      .modal-content h4 {
        margin: 15px 0 5px;
        color: #111;
      }

      .modal-content p {
        margin: 0;
        color: #333;
        line-height: 1.6;
      }

      .modal-image.trainer-image {
        position: absolute;
        left: 150px;
      }

      