.profile-top , .profile-detail{ display: flex; gap:40px;}
.profile-detail { margin-top:20px; }
.profile-top > div, .profile-detail > div { flex: 1; }
.profile-top-left p { font-size: 15px;  }
.profile-summary > div:nth-child(3) {width: 130px;}
#main-content .container { max-width: 1120px; }
.et_right_sidebar #main-content .container:before { display: none; }
.profile-summary .logo { box-shadow: 0.95px 0.95px 5.71px 0px rgba(0, 0, 0, 0.15); padding: 10px; border-radius: 14px; height: 70px; width: 70px;}
.verified-3pl { display: flex; margin-top: 5px;   background: rgba(0, 44, 90, 1);    color: white;    padding: 8px 10px;    border-radius: 15px; } 
.verified-3pl span {  font-weight: 700;   line-height: 15px;    display: inline-block;    margin-left: 5px; }
.profile-gallery { margin-top: 40px; }

.review-slider-container {
  --total-width: 1120px;
  --gap: 20px;                /* ← space between each slide – change this! */
  --slide-width: calc((var(--total-width) - 4 * var(--gap)) / 5);

  position: relative;
  width: var(--total-width);
  max-width: 100%;            /* doesn't break on smaller screens */
  margin: 0 auto 0px;
  overflow: hidden;           /* hides overflow from peek/next slide if wanted */
}
body .cta-button { background:rgba(0, 44, 90, 1) !important; }
.top-post-categories.more { color: #002C5A; font-size: 20px;}
/* The scrollable track */
.slider-track {
  display: flex;
  gap: var(--gap);
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;          /* smooth scroll when clicking buttons */
  -webkit-overflow-scrolling: touch; /* nice momentum on iOS */
  padding: 0 0 16px 0;              /* space for scrollbar if visible */
  scrollbar-width: thin;            /* Firefox */
  scrollbar-color: rgba(100,100,100,0.4) transparent;
}
/* Hide scrollbar but keep functionality (optional but clean) */
.slider-container::-webkit-scrollbar {
  height: 6px;
}
.slider-container::-webkit-scrollbar-thumb {
  background: rgba(100,100,100,0.4);
  border-radius: 10px;
}
.subheader { font-family: Gilroy; color: #002C5A;font-weight: 600;font-size: 16px;line-height: 21px; margin-bottom: 10px;}
.cta_header {font-family: Gilroy;font-weight: 700;font-size: 20px;line-height: 26px; color: black; margin-bottom: 20px;}
.profile-top-right ul { margin:20px auto; }
.profile-top-right a.cta-button { height: 52px !important; }
.slider {
  flex: 0 0 auto;               /* don't grow/shrink */
  width: calc( (var(--total-width) - 4 * var(--gap)) / 4 );  /* exact math for 5 images */
  scroll-snap-align: start;     /* snap starts at left edge of each image */
  scroll-snap-stop: always;     /* forces stop at each item (stronger UX) */
}
.customer-slider-container .slider > div { height: 50px; }

.slider img {
  width: 100%;
  height: auto;                 /* or fixed e.g. 400px */
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.slider-container .nav-button { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0px 0px 5.6px 0px rgba(0, 0, 0, 0.25);   display: flex;  border: none;    color: black !important;     position: absolute;    top: 40%; cursor: pointer;}
.slider-container .nav-button svg { margin: auto; }
.slider-container .nav-button.next { right:10px; }
.location_lists img {    width: auto;    height: 14px;    margin-right: 5px;}
.company-name {font-family: Gilroy;font-weight: 700;font-size: 30px;line-height: 46.8px; color:black; white-space: nowrap;}
.customer-slider-container .slider { width:150px; height:90px; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15); flex: 0 0 15%; padding: 0px; font-family: Gilroy;font-weight: 600;
font-size: 13px; color: black;line-height: 19px; border-radius: 5px; }
.customer-slider-container hr { border-top:solid 1px rgba(226, 232, 240, 1); border-bottom: none; margin-top: 0px;}
.customer-slider-container .slider-track { gap:20px; text-align: center; padding-top: 10px; overflow: visible;}
.customer-slider-container img { height: 42px;  width: auto; max-width: 140px;object-fit: contain; margin: 10px auto 0px;    display: block;}
.profile-gallery .slider img {object-fit: cover; display: block;}
.profile-summary {display: flex; gap:18px; margin-bottom: 20px; }
.location_lists { font-family: Gilroy;font-weight: 600;font-size: 16px;line-height: 21px; margin-top: 10px;}
.location_lists li { list-style: none; background-color:rgba(33, 100, 191, 1); border-radius: 15px;font-family: Gilroy;font-weight: 500;font-size: 14px;line-height: 14px;  color:white;   padding: 8px 15px;      display: inline-flex;    height: 30px; margin-right: 10px; margin-bottom: 10px;}
.profile-top-right li{    
  padding-left: 22px;   
  background-image: url('https://partner3pl.com/wp-content/themes/divi-child/images/blue-checkmark.png');
  background-repeat: no-repeat;
  background-position: left center; margin-bottom: 8px; font-weight: 500;
  background-size: 15px 15px;   /* adjust size as needed */
}
.plpost-metabox { overflow: hidden;  margin-bottom: 40px;}
.profile-top-right .cta-button { margin-top: 0px; width: 180px !important; display: inline-flex; margin-right: 20px;}
h2, .h2{ font-family: Gilroy;font-weight: 700 !important;font-size: 32px !important;line-height: 42px !important; }
h3{ font-family: Gilroy;font-weight: 400 !important;    font-size: 28px !important;    line-height: 38px !important;    margin-bottom: 5px !important;}
.profile-top-right {box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.15); border-radius: 20px;padding: 30px; font-family: Gilroy;font-weight: 400;font-size: 16px;line-height: 25.6px;letter-spacing: 0%;}
.section-form-table th:nth-child(1){background-color: rgba(248, 250, 252, 1); }
.section-form-table img {      height: 16px;    margin-right: 10px; vertical-align: middle;}
.section-form-table th, .section-form-table td {padding: 10px; width: 50%; border: 1px solid rgba(226, 232, 240, 1); text-align: left; }
.section-form-table th{ font-family: Gilroy;font-weight: 700;font-size: 14px;line-height: 22.4px; color: rgba(15, 23, 42, 1);}
.section-form-table td{ font-family: Gilroy;font-weight: 400;font-size: 14px;line-height: 22.4px; color: rgba(71, 85, 105, 1);}
.section-form-table { border: 1px solid rgba(226, 232, 240, 1); width: 100%;     border-collapse: separate;    border-spacing: 0;    overflow: hidden; border-radius: 12px;      }
.section-form-table tr:first-child th:first-child {  border-top-left-radius: 12px;}
.section-form-table tr:first-child td:last-child {  border-top-right-radius: 12px;}
.section-form-table tr:last-child th:first-child {  border-bottom-left-radius: 12px;}
.section-form-table tr:last-child td:last-child {  border-bottom-right-radius: 12px;}
.profile-faq { max-width: 820px; margin:0px auto 20px; }
.profile-faq p { font-family: Gilroy;font-weight: 400;font-size: 24px;line-height: 28px;text-align: center; }
.website-quote { background:#002C5A; border-radius:20px; padding:40px; margin: 80px 0px;text-align: center; color: white; font-family: Gilroy;font-weight: 800;font-size: 48px;line-height: 62px;text-align: center; } 
.website-quote a { display: block; border-radius: 45px; background-color: rgba(33, 100, 191, 1);color: white; font-family: Gilroy;font-weight: 600;font-size: 20px;width: 200px;    margin: 20px auto 0px; line-height: 60px;} 
.website-quote a:hover{ box-shadow: 0px 7px 20px -1px rgba(204,204,204,0.5); }
.ac_title_class .fa:before {    font-weight: 900;    font-size: 24px; }
  /* Trigger Button */
  .contact-trigger-btn {
    background-color: #e31c23;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  .contact-trigger-btn:hover {
    background-color: #c41820;
  }

  /* Modal Overlay */
  .contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }

  /* Modal Box */
  .contact-modal-content {
    background: white;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
  }

  /* Header */
  .contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
  }

  .contact-modal-header .h2 {    margin: 0;    font-size: 18px;    font-weight: 600;    color: #1a1a1a;  }

  .contact-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0 4px;
  }

  .contact-modal-close:hover {
    color: #000;
  }

  /* Body */
  .contact-modal-body {
    padding: 20px;
  }

  /* Agent Info */
  .agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .agent-logo {
    width: 36px;
    height: 36px;
    background: #e31c23;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
  }

  .agent-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
  }

  .agent-phone {
    font-size: 14px;
    color: #555;
  }

  /* Form */
  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
  }

  .form-group .optional {
    color: #888;
  }

  .form-group .required {
    color: #e31c23;
  }

  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    color: #333;
    font-family: inherit;
    box-sizing: border-box;
  }

  .form-group textarea {
    height: 110px;
    resize: vertical;
  }

  .char-count {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
  }

  .privacy-note {
    font-size: 12px;
    color: #666;
    margin: 12px 0 20px;
    line-height: 1.4;
  }

  .privacy-note a {
    color: #1a73e8;
    text-decoration: none;
  }

  .privacy-note a:hover {
    text-decoration: underline;
  }

  /* Submit Button */
  .send-email-btn {
    width: 100%;
    background-color: #e31c23;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .send-email-btn:hover {
    background-color: #c41820;
  }
@media (max-width: 600px){
  .profile-top, .profile-detail { flex-direction: column; gap: 0px; } 
  .profile-top-right li { background-position: left top; background-position-y: 4px; }
  #main-content .container { max-width: 100%; }
  .profile-summary {    flex-direction: column;     gap: 0px;}
  .verified-3pl {    display: inline-flex; }
  .faq-container {        padding: 30px 0px !important; }
  .website-quote { font-size: 28px; line-height: 35px; padding: 20px; margin: 40px 0px;}
  .customer-slider-container .slider-track .slider{ flex: 1 1 45%;  }
  .customer-slider-container .slider-track { flex-wrap: wrap; }
  .profile-top-right { margin-top: 40px; }
}