@media (max-width: 1199px) {
  .solution-title {
    font-size: 48px;
  }

  .solution-hero {
    padding: 70px 0 90px 0;
  }

  .solution-desc {
    font-size: 14px;
    max-width: 700px;
  }
}

@media (max-width: 991px) {
  .solution-title {
    font-size: 40px;
  }

  .solution-hero {
    padding: 60px 0 75px 0;
    min-height: unset;
  }

  .solution-desc {
    font-size: 14px;
    max-width: 100%;
  }

  .get-btn {
    width: 140px;
    height: 38px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .solution-title {
    font-size: 34px;
    letter-spacing: -0.5px;
  }

  .solution-hero {
    padding: 50px 0 65px 0;
    min-height: unset;
  }

  .solution-desc {
    font-size: 13px;
    max-width: 100%;
  }

  .custom-breadcrumb {
    margin-bottom: 18px;
  }

  .get-btn {
    width: 135px;
    height: 36px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .solution-title {
    font-size: 28px;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
  }

  .solution-hero {
    padding: 40px 0 55px 0;
    min-height: unset;
  }

  .solution-desc {
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
  }

  .custom-breadcrumb {
    margin-bottom: 15px;
  }

  .custom-breadcrumb .breadcrumb-item,
  .custom-breadcrumb .breadcrumb-item a {
    font-size: 12px;
  }

  .get-btn {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 10px;
  }

  .navbar-nav {
    gap: 4px !important;
    padding: 10px 0;
  }
}

@media (max-width: 1199px) {
  .service-solutions-section {
    padding: 80px 0;
  }

  .service-solutions-title {
    font-size: 34px;
    line-height: 44px;
    margin-bottom: 20px;
  }

  .service-solutions-desc {
    font-size: 15px;
    max-width: 100%;
    align-items: flex-end;
    text-align: right;
  }

  .people {
    font-size: 22px;
    margin-top: 50px;
  }
}

@media (max-width: 991px) {
  .service-solutions-section {
    padding: 70px 0;
  }

  .service-solutions-title {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 16px;
    text-align: center;
  }

  .service-solutions-desc {
    font-size: 14px;
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin-right: auto;
    line-height: 1.6;
  }

  .people {
    font-size: 20px;
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .service-solutions-section {
    padding: 60px 0;
  }

  .service-solutions-title {
    font-size: 24px;
    line-height: 34px;
    margin-bottom: 14px;
    text-align: center;
  }

  .service-solutions-desc {
    font-size: 13px;
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin-right: auto;
    line-height: 1.6;
  }

  .people {
    font-size: 18px;
    margin-top: 30px;
  }
}

@media (max-width: 575px) {
  .service-solutions-section {
    padding: 50px 0;
  }

  .service-solutions-title {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-align: center;
    width: 100%;
  }

  .service-solutions-desc {
    font-size: 13px;
    max-width: 100%;
    align-items: center;
    text-align: center;
    margin-right: auto;
    line-height: 1.6;
  }

}

/* ================================
   RESPONSIVE MEDIA QUERIES
================================ */

/* Tablet and Small Desktops (max-width: 991px) */
@media (max-width: 991px) {
    /* Detail View: Stack Image and Content */
    .detail-expand-wrapper .row {
        flex-wrap: wrap !important;
    }

    .detail-image-container {
        max-width: 100%;
        height: auto;
        padding-top: 40px; /* Space for the silhouette look */
    }

    .detail-image-container img {
        width: 60%; /* Prevents the photo from becoming too huge on tablets */
        height: auto;
    }

    .detail-content-side {
        padding: 40px 30px;
        flex: none;
        width: 100%;
    }

    .detail-title {
        margin-top: 0; /* Reset negative margin for stacked layout */
        font-size: 28px;
    }

    /* FIX: Force bio text to use full width instead of fixed 600px */
    .detail-bio-text p {
        width: 100% !important;
        max-width: 100%;
    }

    /* Grid adjustment for people cards */
    .people-card {
        max-width: 320px;
    }
}

/* Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    /* People Cards: Center everything for mobile */
    .people-card-photo-wrap {
        width: 200px;
        height: 240px;
        margin: 30px auto 0 auto; /* Center the wrap */
    }

    .people-card-info {
        width: calc(100% - 20px);
        margin: 0 auto;
        height: auto;
        padding: 15px;
        text-align: center;
    }

    /* Detail View Adjustments */
    .detail-content-side {
        padding: 30px 20px;
    }

    .detail-title {
        font-size: 24px;
        padding-right: 35px; /* Room for close button */
    }

    .detail-subtitle {
        font-size: 16px;
    }

    .btn-close-custom {
        top: 20px;
        right: 20px;
        font-size: 26px;
    }

    .detail-image-container img {
        width: 85%;
    }

    .linkedin-link {
        margin-bottom: 20px;
    }
}