/*================================================================================================
    Start Service Details CSS
===================================================================================================*/
@import url("reset.css");
@import url("mobile-menu.css");
@import url("global-header.css");
@import url("breadcrumbs.css");
@import url("call-action.css");
@import url("footer.css");

.service-details__inner {
  justify-content: space-between;
  gap: 86px;
}
.service-details__sidebar {
  min-width: 475px;
}
.sidebar-widget {
  margin-bottom: 80px;
}
.sidebar-widget:last-child {
  margin: 0;
}
.sidebar-widget__title {
  font-size: 26px;
  line-height: 120%;
  margin-bottom: 28px;
}
.sidebar-widget__search {
  position: relative;
}

.sidebar-widget__search input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(34, 48, 53, 0.25);
  height: 58px;
  padding: 20px 54px 20px 24px;
}
.sidebar-widget__search button {
  position: absolute;
  right: 24px;
  background: transparent;
  padding: 0;
  font-size: 22px;
  top: 18px;
}
.sidebar-widget ul li {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(34, 48, 53, 0.25);
}
.sidebar-widget ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.4px;
  color: var(--bx-paragraph-color);
}
.sidebar-widget ul li a:hover {
  color: var(--bx-primary-color);
}
.sidebar-widget ul li:last-child {
  margin: 0;
  padding: 0;
  border: none;
}
.sidebar-widget.sidebar-banner {
  position: relative;
}
.sidebar-widget.sidebar-banner::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 17, 17, 0) 24.34%,
    rgba(0, 17, 17, 0.84) 67.71%
  );
  z-index: 1;
  border-radius: 12px;
}
.sidebar-widget.sidebar-banner img {
  width: 100%;
  border-radius: 12px;
}
.sidebar-banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 0px 28px 28px 32px;
  text-align: center;
  width: 100%;
}
.sidebar-banner__content h4 {
  color: var(--bx-white-color);
  font-size: 40px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}
.sidebar-banner__content .bx-btn:hover {
  background: var(--bx-white-color);
  color: var(--bx-primary-color);
}

.service-details__content h3 {
  font-size: 40px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.service-details__content p {
  font-size: 20px;
  font-weight: 400;
  line-height: 34px;
  letter-spacing: -0.4px;
}
.service-details__content img {
  width: 100%;
  margin: 50px 0px;
  border-radius: 12px;
}
.service-details__content h4 {
  font-size: 26px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 16px;
}
.service-details__content ul {
  margin: 50px 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-details__content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  color: var(--bx-title-color);
}
.service-details__content ul li i {
  color: var(--bx-primary-color);
  position: relative;
  top: 2px;
}
.service-work-process {
  margin-top: 90px;
}
.service-work-process .work-process-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.4px;
  border-bottom: 1px solid rgba(34, 48, 53, 0.17);
  line-height: 120%;
  padding-bottom: 25px;
  margin-bottom: 32px;
}

.service-work-process__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 112px;
}
.work-process__item:hover .number {
  background: var(--bx-primary-color);
  color: var(--bx-white-color);
  border: 1px solid transparent;
}
.work-process__item .number {
  width: 90px;
  height: 90px;
  border: 1px solid var(--bx-title-color);
  border-radius: 100%;
  display: block;
  text-align: center;
  line-height: 90px;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  color: var(--bx-title-color);
  margin-bottom: 48px;
  transition: all 0.3s ease;
}
.work-process__item .title {
  font-size: 22px;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 16px;
}
.work-process__item .text {
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.36px;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
  .service-details__sidebar {
    min-width: 350px;
  }
  .service-work-process__wrapper {
    gap: 56px;
  }
}

@media (max-width: 1199px) {
  .service-details__inner {
    gap: 60px;
  }
  .service-details__sidebar {
    min-width: 300px;
  }
  .sidebar-banner__content h4 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 20px;
  }
  .service-work-process__wrapper {
    gap: 60px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .service-details__inner {
    flex-direction: column;
    gap: 50px;
  }

  .service-details__sidebar {
    min-width: 100%;
    order: 2;
  }

  .service-details__main {
    order: 1;
  }

  .sidebar-widget {
    margin-bottom: 50px;
  }

  .sidebar-banner__content h4 {
    font-size: 28px;
    line-height: 42px;
  }

  .service-details__content h3 {
    font-size: 32px;
    line-height: 48px;
  }

  .service-details__content h4 {
    font-size: 24px;
    line-height: 36px;
  }

  .service-work-process .work-process-title {
    font-size: 32px;
    line-height: 48px;
  }

  .work-process__item .number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .service-details__content ul {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 30px 0;
  }

  .service-work-process__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-details__content p {
    font-size: 18px;
    line-height: 30px;
  }

  .service-details__content img {
    margin: 30px 0;
  }

  .service-work-process {
    margin-top: 60px;
  }

  .sidebar-widget__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .sidebar-widget ul li a {
    font-size: 18px;
    line-height: 30px;
  }
}

@media (max-width: 575px) {
  .service-details__content h3 {
    font-size: 28px;
    line-height: 42px;
  }

  .service-details__content h4 {
    font-size: 22px;
    line-height: 32px;
  }

  .service-work-process .work-process-title {
    font-size: 28px;
    line-height: 42px;
    padding-bottom: 20px;
    margin-bottom: 28px;
  }

  .work-process__item .number {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 22px;
    margin-bottom: 24px;
  }

  .work-process__item .title {
    font-size: 20px;
  }

  .work-process__item .text {
    font-size: 16px;
    line-height: 26px;
  }

  .sidebar-banner__content {
    padding: 0px 20px 20px;
  }

  .sidebar-banner__content h4 {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 16px;
  }

  .sidebar-widget__search input {
    height: 50px;
    padding: 15px 45px 15px 20px;
  }

  .sidebar-widget__search button {
    right: 20px;
    font-size: 18px;
    top: 16px;
  }

  .sidebar-widget ul li {
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 375px) {
  .service-details__content h3 {
    font-size: 24px;
    line-height: 36px;
  }

  .service-details__content p {
    font-size: 16px;
    line-height: 28px;
  }

  .service-details__content ul li {
    font-size: 16px;
    line-height: 26px;
  }

  .work-process__item .number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
  }
}
/* drop down*/
.offcanvas__menu_li {
  position: relative;
}

/* Submenu hidden by default */
.offcanvas__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  width: 160px; /* same width as parent or adjust */
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

/* Submenu links */
.offcanvas__submenu li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.offcanvas__submenu li a:hover {
  background-color: #718d8b;
  color: #fff;
}

/* Show submenu on hover */
.offcanvas__menu_li.dropdown:hover > .offcanvas__submenu {
  display: block;
}
/* drop down*/
.offcanvas__menu_li {
  position: relative;
}

/* Submenu hidden by default */
.offcanvas__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  width: 160px; /* same width as parent or adjust */
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 1000;
}

/* Submenu links */
.offcanvas__submenu li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.3s, color 0.3s;
}

/* Hover effect */
.offcanvas__submenu li a:hover {
  background-color: #718d8b;
  color: #fff;
}

/* Show submenu on hover */
.offcanvas__menu_li.dropdown:hover > .offcanvas__submenu {
  display: block;
}


/*================================================================================================
    End Service Details CSS
===================================================================================================*/
