:root {
  --primary: #1D4061;
  --primary-light: #5678ff;
  --secondary: #ff6b35;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --gray: #6c757d;
  --gray-light: #e9ecef;
}

.accordion-body {
  padding: 0 1rem 1rem;
  font-size: 16px;
  color: #000;
  border-bottom: 1px solid #ebeced;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title {
  -webkit-line-clamp: 2;
  font-size: 30px;
  line-height: 44px;
  font-weight: 600;
  text-align: left;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
}

.icon-star {
  width: 20px;
  height: 20px;
  fill: #facc15;
  vertical-align: middle;
  margin-top: -2px;
}

.score {
  font-size: 18px;
  font-weight: 500;
}

.bookings {
  font-size: 16px;
  color: #6b7280;
}

.card-custom {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  padding-right: 24px;
  padding-left: 24px;
}

.card-customupper {
  background-color: rgb(245, 245, 245);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition-duration: 0.25s;
}

.uc-info {
  display: flex;
  flex-direction: column;
}

.uc-cover {
  color: #16a34a;
  font-weight: 500;
  margin: 0 0 4px;
}

.uc-text {
  color: #4b5563;
  font-size: 14px;
  margin: 0;
}

.uc-arrow svg {
  flex-shrink: 0;
}

.card-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.uc-promise {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.uc-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: #000000;
}

.uc-list li {
  margin-bottom: 8px;
}

.accordion-body div {
  margin-bottom: 5px;
}

.accordion-item {
  color: #656b76;
  border-bottom: 1px solid #ebeced;
}

.right {
  /* display: flex;
  flex-direction: column;
  align-items: center; */
}

.service-image {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.logos-image {
  max-width: 75%;
  height: auto;
  object-fit: cover;
}

.quality {
    font-size: 12px;
    font-weight: 500;
    padding: 0px 0px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quality-icon { 
  width: 65px;
  height: 65px;
}

p {
  color: #000000;
}

.service-details {
  font-family: "Trebuchet MS", sans-serif; 
  padding: 40px;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  border-radius: 10px;
}

.service-title {
  font-size: 32px;
  line-height: 38px; 
  font-weight: 700;
  margin-bottom: 10px;
}

.service-process { 
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
    margin-top: 20px;
}

.service-rating {
  color: #555;
  margin-bottom: 10px;
}

.rate-card {
  background: #f5f5f5;
  padding: 10px 20px;
  border-radius: 8px;
  
    border: 1px solid #e6e6e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.rate-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}

.process-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}

.commit-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}

.partners-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}

.exclusions-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}
.brands-card-wrapper {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px; /* creates the gap */
}

.uc-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
}

.uccover {
  font-weight: 500;
  color: #000;
  font-size: 15px;
  flex-grow: 1;
}

.issue-section {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
  position: relative;
}

.issue-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  width: 180px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.issue-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.issue-card .price {
  font-weight: 500;
  margin: 8px 0;
  font-size: 19px;
}

.btn-add {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-add:hover {
  background: #eee;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.scroll-arrow.left {
  left: 0;
}

.scroll-arrow.right {
  right: 0;
}

.process {
  margin-top: 30px;
}

.step h4 {
  font-size: 16px;
  font-weight: bold;
}

.step p {
  color: #555;
}

.promo-card {
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: opacity 0.3s ease;
  z-index: 1003;
}


.modal-content2 {
  background: #fff;
  width: 100%;
  max-width: 400px;
  height: 100%;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 999;
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
 
}


.accordion-button {
  background-color: #eee;
  border: none;
  padding: 10px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease;
}

.accordion-button:hover {
  background-color: #ddd;
}

.accordion-content {
  padding: 0 1rem 1rem;
  display: none;
  overflow: hidden;
}

.accordion-content.show {
  display: block;
}

/* View More text styling */
.view-more-text {
  color: grey;
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
}


.close_button {
  border-radius: 50%;
  height: 30px;
  width: 30px;
  border: unset;
}

.faq-title {
  font-weight: 600;
  margin-bottom: 15px;
  margin-left: 15px;
}

.service-container {
  padding: 5px 4px;
}

.service-img-container {
  margin-bottom: 13px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-img-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.service-img-container img:hover {
  transform: scale(1.02);
}

.service-description {
  padding: 14px;
  background: var(--light);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid #ddd;
}

.service-accordion {
  margin-bottom: 10px;
}

.accordion-button {
  background-color: white;
  color: var(--dark);
  font-weight: 600;
  padding: 13px;
  border: 1px solid var(--gray-light);
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(45, 91, 255, 0.2);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(45, 91, 255, 0.25);
  border-color: var(--primary);
}

.service-accordion .accordion-item .accordion-button {
  font-size: 14px !important;
}

.process-step h5, .commitment-item h5{
  font-size: 16px;
}
.process-step p, .commitment-item p{
  font-size: 13px;
}

.brands-section h4{
  font-size: 16px;
}

.accordion-body {
  padding: 10px;
  background: white;
  border: 1px solid var(--gray-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.brands-section {
  padding: 10px;
  background: var(--light);
  border-radius: 12px;
  margin: 10px 0;
}

.brand-slider {
  display: flex;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  -ms-overflow-style: none;
}

.brand-slider::-webkit-scrollbar {
  height: 6px;
}

.brand-slider::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}
.modal-header{
      background-color: var(--primary);
}
#modalTitle{
  font-size: 18px;
  color: white;
 
}

.brand-item {
  flex: 0 0 auto;
  margin: 0 3px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.faq-section,
.exclusions-section {

  padding: 14px;
  background: var(--light);
  border-radius: 12px;
      border: 1px solid #ddd;
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-light);
  font-size: 15px;
}

.accordion-button{
  font-size: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.faq-item,
.exclusion-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.commitment-item {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-top: 5px;
  padding-bottom: 5px;
  border: 1.3px solid #ddd;
border-left: 3px solid var(--primary);
}

.process-step {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-weight: 600;
}

.service-tag {
  display: inline-block;
  background: rgba(45, 91, 255, 0.1);
  color: var(--primary);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .modal-overlay {
    justify-content: flex-end;
    align-items: center;
  }

  .modal-content2 {
    max-width: 650px;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateX(100%);
  }

  .modal-overlay.show .modal-content2 {
    transform: translateX(0);
  }
}




@media (max-width: 767px) {
  .modal-overlay {
    justify-content: center;
    align-items: flex-end;
  }

  .modal-content2 {
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(100%); 
    display: flex;
    flex-direction: column;
  }
  
  .view-more-text {
    font-size: 13px;
    color: #333;
    text-decoration: underline; 
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;/* spacing for touch-friendly UI */
  }
  
  .service-process {
    font-size: 26px;
    line-height: 38px;
    font-weight: 700;
    margin-top: 20px;
    text-align: center;
   }

  .modal-body {
    padding: 10px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .modal-body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
  }

  .modal-overlay.show .modal-content2 {
    transform: translateY(0);
  }

  .service-details {
    padding: 10px;
  }

  .service-title {
    font-size: 22px;
  }

  .logos-image {
    max-width: 100%;
  }

  .body-one .popular-section {
    padding: 0px 0 35px;
  }

  .service-description,
  .faq-section,
  .exclusions-section {
    padding: 12px;
  }

  .accordion-body{
    font-size: 13px;
  }

  .brand-item {
    min-width: 100px;
    padding: 0.75rem 1rem;
  }
}
