/** service-section **/

.service-section {
  position: relative;
}

.service-section .tab-btns {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.08);
  max-width: 1070px;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.service-section .tab-btns .tab-btn {
  position: relative;
  display: inline-block;
  float: left;
  width: 25%;
  text-align: center;
  padding: 45px 15px;
  cursor: pointer;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  color: var(--title-color);
  transition: all 500ms ease;
}

.service-section .tab-btns .tab-btn:first-child {
  border-radius: 20px 0px 0px 20px;
}

.service-section .tab-btns .tab-btn:last-child {
  border-radius: 0px 20px 20px 0px;
}

.service-section .tab-btns .tab-btn.active-btn {
  color: #fff;
}

.service-section .tab-btns .tab-btn:before {
  position: absolute;
  content: "";
  background: #e5e5e5;
  width: 1px;
  height: 60px;
  top: 30px;
  right: 0px;
  transition: all 500ms ease;
}

.service-section .tab-btns .tab-btn:last-child:before {
  display: none;
}

.service-section .tab-btns .tab-btn.active-btn:before {
  opacity: 0;
}

.service-section .tab-btns .tab-btn:after {
  position: absolute;
  content: "";
  width: 21px;
  height: 9px;
  left: 50%;
  margin-left: -10px;
  bottom: -9px;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%, 50% 100%, 0% 0%);
  opacity: 0;
  transition: all 500ms ease;
}

.service-section .tab-btns .tab-btn.active-btn:after {
  opacity: 1;
}

.service-section .tabs-content {
  position: relative;
  display: inline-block;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 20px 20px 0px 0px;
  padding: 140px 80px 80px 80px;
  margin-top: -60px;
}

.service-section .tabs-content .shape {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px 20px 0px 0px;
}

.service-section .image-box {
  position: relative;
  display: block;
  padding-left: 110px;
}

.service-section .image-box .image {
  border-radius: 8px;
}

.service-section .image-box .image img {
  width: 100%;
  border-radius: 8px;
}

.service-section .image-box .image-2 {
  position: absolute;
  left: 0px;
  bottom: 0px;
  border: 10px solid #f5f6f7;
  z-index: 2;
}

.service-section .content-box {
  position: relative;
  display: block;
}

.service-section .content-box h2 {
  font-size: 36px;
  line-height: 46px;
  font-weight: 600;
  margin-bottom: 26px;
}

.service-section .content-box p {
  margin-bottom: 25px;
}

.service-section .content-box .list-style-one li {
  float: left;
  width: 50%;
}

.service-section .content-box .list-style-one {
  margin-bottom: 33px;
}

/** service-style-two **/

.service-style-two {
  position: relative;
  overflow: hidden;
}

.service-style-two .row {
  display: flex;
  flex-wrap: wrap;
}

.service-style-two .service-block {
  display: flex;
  margin-bottom: 30px;
}

.service-style-two .service-block-one {
  width: 100%;
  height: 100%;
}

.service-block-one .inner-box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #e8edf5;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0px 18px 50px 0px rgba(12, 32, 63, 0.1);
  margin-bottom: 0px;
  transition:
    transform 500ms ease,
    box-shadow 500ms ease,
    border-color 500ms ease;
}

.service-block-one .inner-box:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 35, 45, 0.18);
  box-shadow: 0px 24px 55px 0px rgba(12, 32, 63, 0.16);
}

.service-block-one .inner-box .image-box {
  position: relative;
  display: block;
  padding: 18px 18px 0px 18px;
}

.service-block-one .inner-box .image-box:before {
  display: none;
}

.service-block-one .inner-box .image-box .image {
  position: relative;
  display: block;
  overflow: hidden;
  height: 230px;
  border-radius: 20px;
}

.service-block-one .inner-box .image-box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 500ms ease;
}

.service-block-one .inner-box:hover .image-box .image img {
  transform: scale(1.05);
}

.service-block-one .inner-box .image-box .icon-box {
  position: absolute;
  top: 30px;
  left: 30px;
  display: inline-block;
  width: 58px;
  height: 58px;
  line-height: 58px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  border-radius: 50%;
  box-shadow: 0px 10px 30px 0px rgba(12, 32, 63, 0.15);
  z-index: 2;
  backdrop-filter: blur(6px);
}

.service-block-one .inner-box .image-box .icon-box img {
  display: inline-block;
  max-width: 26px;
}

.service-block-one .inner-box .lower-content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px 24px;
}

.service-block-one .inner-box .lower-content .service-card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef3fb;
  color: #1e3a6d;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-block-one .inner-box .lower-content h3 {
  display: block;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 14px;
  /* min-height: 60px; */
}

.service-block-one .inner-box .lower-content h3 a {
  display: inline-block;
  color: var(--title-color);
}

.service-block-one .inner-box .lower-content h3 a:hover {
}

.service-block-one .inner-box .lower-content p {
  flex: 1;
  font-size: 15px;
  line-height: 26px;
  color: #5f6777;
  /* margin-bottom: 24px; */
}

.service-block-one .inner-box .lower-content .btn-box {
  margin-top: auto;
}

.service-block-one .inner-box .lower-content .service-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: var(--theme-color);
}

.service-block-one .inner-box .lower-content .service-link:hover {
  color: #1e3a6d;
}

.service-block-one .inner-box .lower-content .service-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f5fa;
  color: #1e3a6d;
  font-size: 18px;
  line-height: 1;
  transition: all 500ms ease;
}

.service-block-one .inner-box:hover .lower-content .service-link-arrow {
  background: var(--theme-color);
  color: #ffffff;
}

.service-style-two .pattern-layer {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: top center;
}

@media only screen and (max-width: 991px) {
  .service-block-one .inner-box .image-box .image {
    height: 220px;
  }

  .service-block-one .inner-box .lower-content h3 {
    min-height: 0px;
  }
}

@media only screen and (max-width: 767px) {
  .service-block-one .inner-box .image-box {
    padding: 16px 16px 0px 16px;
  }

  .service-block-one .inner-box .image-box .image {
    height: 210px;
  }

  .service-block-one .inner-box .image-box .icon-box {
    top: 26px;
    left: 26px;
  }

  .service-block-one .inner-box .lower-content {
    padding: 22px 20px 24px 20px;
  }
}

/** service-style-three **/

.service-style-three {
  position: relative;
}

.service-block-two .inner-box {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 30px;
  border-top: solid;
  border-width: 5px;
  box-shadow: 0px -10px 60px 0px rgba(0, 0, 0, 0.05);
  border-color: #7b0000;
}

.service-block-two .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.service-block-two .inner-box .image-box img {
  width: 100%;
  transition: all 500ms ease;
}

.service-block-two .inner-box:hover .image-box img {
  transform: scale(1.05);
}

.service-block-two .inner-box .content-box {
  position: relative;
  display: block;
  padding: 0px 30px 35px 30px;
}

.service-block-two .inner-box .content-box .icon-box {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 40px;
  color: #fff;
  border-radius: 50%;
  margin-top: -55px;
  margin-bottom: 34px;
}

.service-block-two .inner-box .content-box h3 {
  display: block;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 11px;
}

.service-block-two .inner-box .content-box h3 a {
  display: inline-block;
  color: var(--title-color);
}

.service-block-two .inner-box .content-box h3 a:hover {
}

.service-block-two .inner-box .content-box p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 23px;
}

.service-area .pattern-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* Optional: ensures the background covers the container */
}

/** sevice-area **/

.sevice-area {
  position: relative;
  overflow: hidden;
}

.sevice-area .bg-layer::before {
  position: absolute;
  content: "";
  background-color: #f7f7f7;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0.97;
}

.sevice-area .single-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 30px;
}

.sevice-area .single-item .image-box {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
}

.sevice-area .single-item .image-box img {
  width: 100%;
}

.sevice-area .single-item .image-box::before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, #000000 100%);
}

.sevice-area .single-item h4 {
  position: absolute;
  left: 0px;
  bottom: 9px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  z-index: 2;
}

.sevice-area .single-item h4 a {
  display: inline-block;
  color: #fff;
}

.sevice-area .single-item h4 a:hover {
  text-decoration: underline;
}

/** service-style-four **/

.service-style-four {
  position: relative;
}

.service-style-four .tabs-box {
  position: relative;
  padding-right: 255px;
}

.service-style-four .tab-btn-box {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 250px;
}

.service-style-four .tabs-content {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  border-top: solid;
  border-width: 5px;
  border-color: #ff8a00;
  padding: 60px;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
}

.service-style-four .content-box {
  position: relative;
  display: block;
}

.service-style-four .content-box h2 {
  display: block;
  font-size: 36px;
  line-height: 50px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-style-four .content-box p {
  margin-bottom: 25px;
}

.service-style-four .content-box .list-style-one li {
  float: left;
  width: 50%;
}

.service-style-four .content-box .list-style-one {
  margin-bottom: 17px;
}

.service-style-four .content-box .theme-btn {
  padding: 9px 30px;
}

.service-style-four .image-box {
  position: relative;
  display: block;
  border-radius: 12px;
  margin-left: 25px;
}

.service-style-four .image-box img {
  width: 100%;
  border-radius: 12px;
}

.service-style-four .tab-btn-box .tab-btns .tab-btn {
  position: relative;
  display: inline-block;
  font-size: 20px;
  line-height: 30px;
  font-family: var(--title-font);
  font-weight: 600;
  background-color: #fff;
  color: var(--title-color);
  border-radius: 20px;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
  margin-bottom: 5px;
  padding: 50px 25px;
  cursor: pointer;
  height: 435px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  border-bottom: solid;
  border-width: 5px;
  border-color: #44c741;
  transition: all 500ms ease;
}

.service-style-four .tab-btn-box .tab-btns .tab-btn:nth-child(2) {
  border-color: #1025b2;
}

.service-style-four .tab-btn-box .tab-btns .tab-btn:nth-child(3) {
  border-color: #ce1810;
}

.service-style-four .tab-btn-box .tabs-box .tab-btn:last-child {
  margin-bottom: 0px;
}

.service-style-four .pattern-layer {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.service-style-four .inner-container {
  border-bottom: 1px solid #e5e5e5;
}

/** service-style-five **/

.service-style-five {
  position: relative;
  z-index: 1;
}

.service-style-five
  .category-block-one:nth-child(3)
  .inner-box
  .bg-layer:before {
  background: linear-gradient(
    270deg,
    rgba(0, 57, 168, 0) 24.13%,
    #0c3d9c 60.55%,
    #0b3c9d 100%
  );
}

.service-style-five
  .category-block-one:nth-child(2)
  .inner-box
  .bg-layer:before {
  background: linear-gradient(
    270deg,
    rgba(3, 161, 0, 0) 23.97%,
    #1d991a 60.46%,
    #1c9818 100%
  );
}

.service-style-five .category-block-one .inner-box .big-text {
  font-size: 96px;
  width: 100%;
  text-align: center;
}

.service-section.pb_120 .tabs-content {
  border-radius: 20px;
  overflow: hidden;
}

/** rtl-css **/

.rtl .service-style-four .image-box {
  margin-left: 0px;
  margin-right: 25px;
}

/** responsive-css **/

@media only screen and (max-width: 1200px) {
  .service-style-three {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media only screen and (max-width: 991px) {
  .service-section .tab-btns .tab-btn {
    width: 50%;
    border-radius: 0px !important;
  }

  .service-section .tab-btns {
    border-radius: 20px;
    overflow: hidden;
  }

  .service-section .tab-btns .tab-btn:after,
  .service-section .tab-btns .tab-btn:before {
    display: none;
  }

  .service-section .content-box {
    margin-bottom: 40px;
  }

  .service-style-four .image-box {
    margin-left: 0px;
    margin-top: 40px;
  }

  .rtl .service-style-four .image-box {
    margin-right: 0px;
  }

  .service-style-four .tabs-box {
    padding-right: 0px;
  }

  .service-style-four .tab-btn-box {
    position: relative;
    width: 100%;
  }

  .service-style-four .tab-btn-box .tab-btns .tab-btn {
    display: block;
    width: 100%;
    height: auto;
    transform: rotate(0deg);
    writing-mode: inherit;
    padding: 15px 30px;
    border-bottom: none;
    border-top: solid;
    border-width: 5px;
    text-align: center;
    border-color: #44c741;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .service-section.pt_120 {
    padding-top: 70px;
  }

  .service-section .tabs-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .service-style-two,
  .service-style-three {
    padding: 70px 0px 40px 0px;
  }

  .sevice-area {
    padding: 70px 0px 40px 0px;
  }

  .service-style-four .tabs-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .service-style-four .inner-container {
    padding: 70px 0px;
  }

  .service-style-four .content-box .list-style-one li {
    float: none;
    width: 100%;
  }

  .service-style-five {
    padding: 70px 0px 30px 0px;
  }

  .service-section.pb_120 {
    padding-bottom: 70px;
  }
}

@media only screen and (max-width: 599px) {
  .service-section .tab-btns .tab-btn,
  .service-section .content-box .list-style-one li {
    width: 100%;
  }

  .service-section .image-box {
    padding: 0px;
  }

  .service-section .image-box .image-2 {
    position: relative;
    margin-top: 30px;
  }

  .service-section .content-box h2 {
    font-size: 30px;
    line-height: 40px;
  }
}

@media only screen and (max-width: 499px) {
}
