
  /* HEADER FIX - NO OVERLAP */


 .home-testimonials-section {
        padding: 70px 20px;
        background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    }

    .home-testimonials-container {
        max-width: 1080px;
        margin: 0 auto;
    }

    .home-testimonials-heading {
        text-align: center;
        max-width: 720px;
        margin: 0 auto 38px;
    }

    .home-testimonials-heading span {
        display: inline-block;
        color: #0068a0;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .home-testimonials-heading h2 {
        font-size: 32px;
        line-height: 1.25;
        color: #101828;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .home-testimonials-heading p {
        color: #667085;
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }

    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        align-items: stretch;
    }

    .testimonial-card {
        background: linear-gradient(145deg, #ffffff 0%, #eef8ff 100%);
        border: 1px solid #b9dcf2;
        border-radius: 20px;
        padding: 18px;
        box-shadow: 0 14px 35px rgba(16, 24, 40, 0.08);
        transition: 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
    }

    /* Disable featured ribbon and large size */
    .featured-testimonial::before {
        display: none !important;
    }

    .featured-testimonial {
        grid-row: auto !important;
    }

    .testimonial-image-box {
        height: 185px;
        background: #f4f8fb;
        border: 1px solid #e1eaf1;
        border-radius: 16px;
        padding: 12px;
        margin-bottom: 18px;
    }

    .testimonial-image-box img,
    .featured-testimonial .testimonial-image-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        background: #ffffff;
        border-radius: 10px;
    }

    .testimonial-service {
        display: inline-block;
        background: #e8f5ff;
        color: #0068a0;
        font-size: 12px;
        font-weight: 700;
        padding: 6px 11px;
        border-radius: 50px;
        margin-bottom: 14px;
    }

    .testimonial-quote,
    .featured-testimonial .testimonial-quote {
        color: #344054;
        font-size: 14.5px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .testimonial-author {
        border-top: 1px solid #dceaf5;
        padding-top: 14px;
    }

    .testimonial-author h4 {
        color: #101828;
        font-size: 15.5px;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 0 6px;
    }

    .testimonial-author p {
        color: #667085;
        font-size: 13px;
        line-height: 1.4;
        margin: 0 0 5px;
    }

    .testimonial-author strong {
        color: #0068a0;
        font-size: 13px;
    }

    .testimonial-view-more {
        text-align: center;
        margin-top: 32px;
    }

    .testimonial-view-more a {
        display: inline-block;
        background: #0068a0;
        color: #ffffff;
        padding: 12px 24px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 700;
    }

    .testimonial-view-more a:hover {
        background: #004f7a;
        color: #ffffff;
    }

    @media (max-width: 991px) {
        .testimonial-grid {
            grid-template-columns: 1fr;
            max-width: 520px;
            margin: 0 auto;
        }

        .testimonial-image-box {
            height: 230px;
        }

        .home-testimonials-heading h2 {
            font-size: 28px;
        }
    }

    @media (max-width: 575px) {
        .home-testimonials-section {
            padding: 55px 15px;
        }

        .testimonial-card {
            padding: 16px;
            border-radius: 18px;
        }

        .testimonial-image-box {
            height: 210px;
        }

        .home-testimonials-heading h2 {
            font-size: 24px;
        }

        .home-testimonials-heading p {
            font-size: 15px;
        }
    }

    /* Mobile Badge Size Fix */
    @media (max-width: 767px) {
        .new-about-badges-row {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 22px 18px !important;
            align-items: center !important;
            justify-items: center !important;
            width: 100% !important;
            max-width: 360px !important;
            margin: 25px auto 0 !important;
            padding: 22px 18px 55px !important;
            background: #ffffff !important;
        }

        .new-about-badges-row img {
            width: 150px !important;
            max-width: 150px !important;
            height: 72px !important;
            object-fit: contain !important;
            display: block !important;
        }
    }

    /* Small Mobile */
    @media (max-width: 420px) {
        .new-about-badges-row {
            max-width: 340px !important;
            gap: 20px 14px !important;
            padding: 20px 14px 55px !important;
        }

        .new-about-badges-row img {
            width: 145px !important;
            max-width: 145px !important;
            height: 70px !important;
        }
    }

    .new-hero-section {
        background-image: url("assets/images/adroit-background-banner.webp");
        background-size: cover;
        background-position: center top;
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        height: 642px;
    }

    /* Mobile Banner Image */
    @media (max-width: 767px) {
        .new-hero-section {
            min-height: 100vh;
            background-image: url("assets/images/adroit-background-mobile-banner.webp");
            background-size: cover;
            background-position: center top;
            padding: 50px 16px 45px;
            align-items: flex-start;
        }
    }

  .ad-header.ad-shrink .ad-header-inner {
    height: 100px;
  }

  .ad-header-inner {
    display: grid !important;
    grid-template-columns: 190px minmax(0, 1fr) 135px;
    align-items: center;
    column-gap: 24px;
    position: relative;
  }

  .ad-logo {
    grid-column: 1;
    width: 190px;
    min-width: 190px;
    position: relative;
    z-index: 5;
  }

  .ad-logo-img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
  }

  .ad-nav {
    grid-column: 2;
    min-width: 0;
    position: relative;
    z-index: 2;
  }

  .ad-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .ad-item {
    position: relative;
    flex: 0 0 auto;
  }

  .ad-link {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
    padding: 34px 0;
  }

  .ad-caret {
    font-size: 11px;
    flex-shrink: 0;
  }

  .ad-cta {
    grid-column: 3;
    justify-self: end;
    width: 135px;
    min-width: 135px;
    position: relative;
    z-index: 5;
  }

  .ad-discuss-btn {
    width: 130px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  /* Smaller laptop fix */
  @media (max-width:1400px) {
    .ad-header-inner {
      grid-template-columns: 170px minmax(0, 1fr) 125px;
      column-gap: 16px;
    }

    .ad-logo {
      width: 170px;
      min-width: 170px;
    }

    .ad-logo-img {
      width: 165px;
    }

    .ad-menu {
      gap: 16px;
    }

    .ad-link {
      font-size: 14px;
    }

    .ad-discuss-btn {
      width: 120px;
      height: 60px;
      font-size: 14px;
    }

    .ad-cta {
      width: 125px;
      min-width: 125px;
    }
  }

  /* Tablet / mobile - show hamburger */
  @media (max-width:1199px) {
    .ad-header-inner {
      display: flex !important;
      justify-content: space-between;
    }

    .ad-nav,
    .ad-cta {
      display: none;
    }

    .ad-logo {
      width: auto;
      min-width: auto;
    }

    .ad-logo-img {
      width: 160px;
    }

    .ad-toggle {
      display: flex;
    }
  }

  /* Mobile Toggle Button Only */
  @media (max-width: 991px) {
    .ad-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      border-radius: 12px;
      background: #0068a0;
      cursor: pointer;
      padding: 10px;
      position: relative;
      z-index: 10001;
      box-shadow: 0 5px 14px rgba(0, 104, 160, 0.35);
    }

    /* Hide existing icon */
    .ad-toggle i,
    .ad-toggle svg {
      display: none;
    }

    /* White menu lines */
    .ad-toggle::before {
      content: "";
      width: 22px;
      height: 2px;
      background: #ffffff;
      border-radius: 20px;
      position: absolute;
      top: 13px;
      left: 50%;
      transform: translateX(-50%);
      box-shadow:
        0 8px 0 #ffffff,
        0 16px 0 #ffffff;
    }

    .ad-toggle:hover {
      background: #005b8c;
    }

    .ad-nav {
      display: none;
    }

    .ad-header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }

  /* Desktop hide toggle */
  @media (min-width: 992px) {
    .ad-toggle {
      display: none !important;
    }
  }

/* Testimonials*/


    .adroit-testimonials-page {
        padding: 49px 0;
        background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    }

    .adroit-testimonials-page .container {
        width: 90%;
        max-width: 1180px;
        margin: 0 auto;
    }

    .adroit-testimonials-title {
        max-width: 780px;
        margin: 0 auto 55px;
        text-align: center;
    }

    .adroit-testimonials-title span {
        display: inline-block;
        color: #0073a8;
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .adroit-testimonials-title h2 {
        font-size: 40px;
        line-height: 1.2;
        color: #0b2d42;
        margin-bottom: 14px;
    }

    .adroit-testimonials-title p {
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #002147;
    }

    .adroit-testimonial-card {
        display: grid;
        grid-template-columns: 42% 58%;
        gap: 16px;
        align-items: center;
        background: #ffffff;
        border-radius: 22px;
        padding: 26px;
        margin-bottom: 30px;
        border: 1px solid rgba(0, 115, 168, 0.10);
        box-shadow: 0 15px 45px rgba(11, 45, 66, 0.08);
    }

    .adroit-testimonial-card:hover {
        box-shadow: 0 22px 55px rgba(11, 45, 66, 0.12);
    }

    .adroit-testimonial-card.testimonial-reverse {
        grid-template-columns: 58% 42%;
    }

    .adroit-testimonial-card.testimonial-reverse .testimonial-img-wrap {
        order: 2;
    }

    .adroit-testimonial-card.testimonial-reverse .testimonial-text-wrap {
        order: 1;
    }

    .testimonial-img-wrap {
        height: 290px;
        background: #f1f6fb;
        border-radius: 16px;
        overflow: hidden;
        padding: 14px;
        position: relative;
    }

    .testimonial-img-link {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        text-decoration: none;
    }

    .testimonial-img-link img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    .testimonial-img-link small {
        position: absolute;
        left: 14px;
        bottom: 12px;
        background: rgba(255, 255, 255, 0.95);
        color: #0b5f91;
        font-size: 12px;
        font-weight: 700;
        padding: 6px 12px;
        border-radius: 30px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

    .testimonial-text-wrap {
        position: relative;
        padding: 10px 10px 10px 0;
    }

    .quote-icon {
        font-size: 42px;
        line-height: 0.8;
        color: #0073a8;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .testimonial-head-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 18px;
    }

    .testimonial-head-row h3 {
        font-size: 25px;
        line-height: 1.3;
        color: #101828;
        /* font-weight: 800; */
        margin: 0;
    }

    .testimonial-head-row span {
        display: inline-block;
        flex-shrink: 0;
        background: #e5f4ff;
        color: #006ba1;
        font-size: 12px;
        font-weight: 800;
        padding: 8px 14px;
        border-radius: 30px;
        margin-top: 2px;
    }

    .testimonial-quote {
        font-size: 17px;
        line-height: 1.8;
        color: #344054;
        margin: 0 0 24px;
    }

    .testimonial-user {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .testimonial-user-icon {
        width: 48px;
        height: 48px;
        border: 2px solid #0073a8;
        color: #0073a8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        flex-shrink: 0;
    }

    .testimonial-user h4 {
        font-size: 16px;
        font-weight: 800;
        color: #0b2d42;
        margin: 0 0 4px;
    }

    .testimonial-user p {
        font-size: 14px;
        line-height: 1.4;
        color: #667085;
        margin: 0;
    }

    /* CSS Only Popup */
    .css-testimonial-lightbox {
        position: fixed;
        inset: 0;
        z-index: 999999;
        background: rgba(5, 20, 35, 0.90);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 55px 18px 30px;
    }

    .css-testimonial-lightbox:target {
        display: flex;
    }

    .css-lightbox-inner {
        max-width: 92%;
        max-height: 88vh;
        background: #ffffff;
        padding: 8px;
        border-radius: 14px;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    }

    .css-lightbox-inner img {
        display: block;
        max-width: 100%;
        max-height: 84vh;
        object-fit: contain;
        border-radius: 10px;
    }

    .css-lightbox-close {
        position: fixed;
        top: 18px;
        right: 28px;
        width: 44px;
        height: 44px;
        background: #ffffff;
        color: #0b2d42;
        border-radius: 50%;
        text-align: center;
        line-height: 42px;
        font-size: 34px;
        font-weight: 300;
        text-decoration: none;
        z-index: 1000000;
    }

    .css-lightbox-close:hover {
        background: #0073a8;
        color: #ffffff;
    }

    @media (max-width: 991px) {

        .adroit-testimonial-card,
        .adroit-testimonial-card.testimonial-reverse {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .adroit-testimonial-card.testimonial-reverse .testimonial-img-wrap,
        .adroit-testimonial-card.testimonial-reverse .testimonial-text-wrap {
            order: initial;
        }

        .testimonial-img-wrap {
            height: 360px;
        }

        .testimonial-head-row {
            flex-direction: column;
            gap: 10px;
        }
    }

    @media (max-width: 575px) {
        .adroit-testimonials-page {
            padding: 55px 0;
        }

        .adroit-testimonials-title {
            margin-bottom: 35px;
        }

        .adroit-testimonials-title h2 {
            font-size: 28px;
        }

        .adroit-testimonial-card {
            padding: 18px;
            border-radius: 18px;
            margin-bottom: 24px;
        }

        .testimonial-img-wrap {
            height: 260px;
            padding: 10px;
        }

        .testimonial-head-row h3 {
            font-size: 22px;
        }

        .testimonial-quote {
            font-size: 15.5px;
            line-height: 1.7;
        }

        .quote-icon {
            font-size: 38px;
        }

        .css-testimonial-lightbox {
            padding: 65px 12px 25px;
        }

        .css-lightbox-inner {
            max-width: 96%;
        }

        .css-lightbox-inner img {
            max-height: 80vh;
        }

        .css-lightbox-close {
            top: 14px;
            right: 18px;
            width: 38px;
            height: 38px;
            line-height: 36px;
            font-size: 30px;
        }
    }
