

.service-details-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.service-image-side {
  width: 100%;
  margin: 0;
  float: none;
}

.service-image-side img {
  display: block;
  width: 100%;
  height: auto;
}

.service-text-content {
  width: 100%;
  min-width: 0;
  line-height: 1.9;
}
  
  
  /* =========================================
     Attachments
  ========================================= */
  
  .service-files {
    clear: both;
    padding-top: 35px;
    margin-top: 25px;
  }
  
  .service-files-title {
    margin-bottom: 20px;
  }
  
  .service-files-title h4 {
    margin-bottom: 6px;
    color: #032f3c;
    font-size: 20px;
    font-weight: 700;
  }
  
  .service-files-title p {
    margin: 0;
    color: #777;
    font-size: 14px;
  }
  
  .service-files-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  
  .service-file-item {
    display: flex;
    align-items: center;
    gap: 15px;
  
    min-width: 0;
    margin-bottom: 0;
    padding: 13px 15px;
  
    background: #f2f2f2;
    border: 1px solid #f2f2f2;
    border-radius: 7px;
  
    transition:
      border-color .2s ease,
      box-shadow .2s ease;
  }
  
  .service-file-item:hover {
    border-color: #036268;
    box-shadow: 0 5px 15px rgba(3, 47, 60, .06);
  }
  
  .service-file-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    background: #eef6f6;
    color: #036268;
    border-radius: 6px;
  
    font-size: 17px;
  }
  
  .service-file-info {
    flex: 1;
    min-width: 0;
  }
  
  .service-file-name {
    margin: 0;
  
    color: #032f3c;
  
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
  
    overflow-wrap: anywhere;
  }
  
  .service-file-small {
    margin-top: 2px;
  
    color: #999;
  
    font-size: 12px;
  }
  
  .service-file-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  
    padding: 8px 13px;
  
    background: #036268;
    color: #fff !important;
    border-radius: 5px;
  
    font-size: 12px;
    font-weight: 600;
  
    text-decoration: none !important;
  
    transition: background .2s ease;
  }
  
  .service-file-download:hover {
    background: #032f3c;
    color: #fff !important;
  }
  
  
  /* =========================================
     Other Services
  ========================================= */
  
  .other-services-row {
    row-gap: 24px;
  }
  
  .other-services-row > div {
    display: flex;
  }
  
  .other-service-card {
    position: relative;
  
    display: flex;
    flex-direction: column;
  
    width: 100%;
    height: 100%;
  
    overflow: hidden;
  
    background: #fff;
    border: 1px solid #e4e9e9;
    border-radius: 12px;
  
    text-decoration: none !important;
  
    transition:
      transform .25s ease,
      box-shadow .25s ease,
      border-color .25s ease;
  }
  
  .other-service-card:hover {
    transform: translateY(-5px);
  
    border-color: rgba(3, 98, 104, .25);
  
    box-shadow: 0 14px 32px rgba(3, 47, 60, .08);
  }
  
  
  /* Image */
  
  .other-service-image {
    position: relative;
  
    width: 100%;
    height: 180px;
  
    overflow: hidden;
  
    background: #eef2f2;
  }
  
  .other-service-image img {
    display: block;
  
    width: 100%;
    height: 100%;
  
    object-fit: cover;
  
    transition: transform .4s ease;
  }
  
  .other-service-card:hover .other-service-image img {
    transform: scale(1.04);
  }
  
  .other-service-image::after {
    content: "";
  
    position: absolute;
    inset: 0;
  
    background:
      linear-gradient(
        to top,
        rgba(3, 47, 60, .12),
        transparent 50%
      );
  
    pointer-events: none;
  }
  
  
  /* Content */
  
  .other-service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
  
    padding: 20px 20px 17px;
  }
  
  .other-service-title {
    min-height: 52px;
  
    margin: 0 0 9px;
  
    color: #032f3c;
  
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
  
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  
    transition: color .2s ease;
  }
  
  .other-service-card:hover .other-service-title {
    color: #036268;
  }
  
  .other-service-description {
    min-height: 66px;
  
    margin: 0 0 17px;
  
    color: #737e80;
  
    font-size: 13px;
    line-height: 1.7;
  
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  
  
  /* Bottom */
  
  .other-service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    gap: 10px;
  
    margin-top: auto;
    padding-top: 14px;
  
    border-top: 1px solid #edf0f0;
  
    color: #036268;
  
    font-size: 13px;
    font-weight: 600;
  }
  
  .other-service-arrow {
    width: 29px;
    height: 29px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    flex-shrink: 0;
  
    border-radius: 50%;
  
    background: #eef6f6;
    color: #036268;
  
    transition:
      background .2s ease,
      color .2s ease,
      transform .2s ease;
  }
  
  .other-service-card:hover .other-service-arrow {
    background: #036268;
    color: #fff;
  }
  
  html[dir="rtl"] .other-service-card:hover .other-service-arrow {
    transform: translateX(-3px);
  }
  
  html[dir="ltr"] .other-service-card:hover .other-service-arrow {
    transform: translateX(3px);
  }
  
  
  /* =========================================
     Tablet
  ========================================= */
  
  @media (max-width: 991px) {
  
    .service-image-side {
      float: none !important;
  
      width: 100%;
  
      margin-left: 0 !important;
      margin-right: 0 !important;
      margin-bottom: 25px;
    }
  
    .other-service-image {
      height: 190px;
    }
  }
  
  
  /* =========================================
     Mobile
  ========================================= */
  
  @media (max-width: 767px) {
  
    .service-details-content {
      padding-left: 12px;
      padding-right: 12px;
    }
  
    .service-text-content {
      width: 100%;
  
      padding-left: 3px;
      padding-right: 3px;
  
      font-size: 15px;
      line-height: 1.9;
  
      overflow-wrap: anywhere;
      word-break: normal;
    }
  
    .service-text-content p,
    .service-text-content ul,
    .service-text-content ol,
    .service-text-content h1,
    .service-text-content h2,
    .service-text-content h3,
    .service-text-content h4,
    .service-text-content h5,
    .service-text-content h6 {
      max-width: 100%;
    }
  
    .service-text-content p {
      margin-bottom: 16px;
      line-height: 1.9;
    }
  
    .service-text-content ul,
    .service-text-content ol {
      padding-inline-start: 22px;
      padding-inline-end: 4px;
    }
  
    .service-files {
      padding-left: 12px;
      padding-right: 12px;
    }
  
    .service-files-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  /* =========================================
     Small Mobile
  ========================================= */
  
  @media (max-width: 575px) {
  
    .service-file-item {
      gap: 10px;
      padding: 11px;
    }
  
    .service-file-icon {
      width: 40px;
      height: 40px;
      min-width: 40px;
    }
  
    .service-file-download {
      width: 38px;
      height: 38px;
  
      padding: 0;
  
      justify-content: center;
    }
  
    .service-file-download span {
      display: none;
    }
  
    .other-service-image {
      height: 210px;
    }
  
    .other-service-title,
    .other-service-description {
      min-height: auto;
    }
  }






/* =================================
   Project Before / After Gallery
================================= */

.project-ba-gallery {
  padding: 12px 15px 18px;
}

.project-ba-tabs {
  display: flex;
  width: 100%;
  gap: 8px;
  margin-bottom: 14px;
}

.project-ba-tab {
  flex: 1;
  border: 1px solid #d9e2e4;
  background: #f5f8f8;
  color: #032f3c;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.project-ba-tab:hover {
  border-color: #036268;
}

.project-ba-tab.active {
  background: #036268;
  border-color: #036268;
  color: #fff;
}

.project-ba-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-inline-start: 5px;
  border-radius: 20px;
  background: rgba(3, 47, 60, 0.1);
  font-size: 12px;
}

.project-ba-tab.active .project-ba-count {
  background: rgba(255, 255, 255, 0.2);
}

.project-ba-panel {
  display: none;
}

.project-ba-panel.active {
  display: block;
}

.project-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.project-ba-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #eef2f2;
}

.project-ba-item > a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-ba-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-ba-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 47, 60, 0.42);
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-ba-item:hover img {
  transform: scale(1.05);
}

.project-ba-item:hover .project-ba-overlay {
  opacity: 1;
}

.project-ba-empty {
  display: none;
  padding: 18px 10px;
  margin: 0;
  text-align: center;
  color: #7a878b;
  font-size: 14px;
}


@media (max-width: 575px) {

  .project-ba-gallery {
      padding: 10px;
  }

  .project-ba-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
  }

  .project-ba-tab {
      padding: 9px 8px;
      font-size: 13px;
  }

  .project-ba-overlay {
      opacity: 1;
      background: rgba(3, 47, 60, 0.20);
  }
}
