/* ===============================
   SERVICE SECTION - MAIN STRUCTURE
   =============================== */


.service_main_box {
  scale: .8;
  opacity: 0;
  padding: 0 250px;
  transition: 1s;
}

.actv_service_sec .service_main_box {
  scale: 1;
  opacity: 1;
}

.service_main_box_inr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}


/* ------------ */

.service_left {
  width: 22%;
  padding-right: 60px;
}

.service_right {
  width: 78%;

}

/* ===============================
   LEFT CATEGORY SIDEBAR
   =============================== */
.service_left_inner {
  border: 3px solid #FFFFFF29;
  border-radius: 300px;
  padding: 10px;
}

.service_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 225px;
  width: 100%;
  background: #fff;
  border-radius: 100%;
}

.service_logo img {
  width: 100%;
  height: 110px;
  object-fit: contain;
}

.service_cat_main_box {
  padding: 40px 0;
}

.service_cat_box {
  padding: 15px 0;
}

.service_cat_box_inner {
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  width: 175px;
  margin: auto;
  padding: 10px;
  background: #fff0;
  border-radius: 30px;
  transition: 1s;

}

.service_cat_box_name {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  transition: 1s;
}

.service_cat_box.active .service_cat_box_inner,
.service_cat_box_inner:hover {
  background: #fff;
}

.service_cat_box.active .service_cat_box_name,
.service_cat_box_inner:hover .service_cat_box_name {
  color: #272030;
}

/* ===============================
   RIGHT CONTENT AREA
   =============================== */


.service_block {
  display: none;
}

.service_block.active {
  display: block;
}


/* ===============================
   SUB TAB BUTTONS
   =============================== */
.service_post_tabs {
  background: #FFFFFF1A;
  display: flex;
  justify-content: center;
  width: fit-content;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 60px;
}

.service_post_tab_btn {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  padding: 15px 50px;
  cursor: pointer;
}

.service_post_tab_btn.active,
.service_post_tab_btn:hover {
  background: #fff;
  color: #272030;
}

/* ===============================
   SUB TAB CONTENTS
   =============================== */
.service_post_tab_content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.service_post_tab_content.active {
  display: block;
}

.service_post_tab_content_inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.service_img_main {
  width: 60%;
}

.service_img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 30px 150px 30px 30px;
}

.service_img {
  display: flex;
}

.service_text_main {
  width: 40%;
  padding-left: 55px;
}

.service_title {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 40px;
  padding-bottom: 30px !important;
  display: flex;
  line-height: 1.2;
}

.service_btn.site_button {
  background: #fff;
  color: #272030;
  margin-top: 20px;
}


.service_sec::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 600px;
  background: url(../../../../../wp-content/uploads/2025/11/service_bg_after.png) no-repeat;
  right: 0;
  top: 0;
  bottom: 0;
  background-size: 100% 100%;
  z-index: 0;
  animation: widthExpand 15s ease-in-out infinite;
  transform-origin: right center;
  /* makes the shrink happen from the right side */
}

@keyframes widthExpand {
  0% {
    width: 0;
    opacity: 0.6;
  }

  50% {
    width: 600px;
    opacity: 1;
  }

  100% {
    width: 0;
    opacity: 0.6;
  }
}







@media all and (min-width: 320px) and (max-width: 767px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 100%;
    padding-right: 0;
  }

  .service_left_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden;
  }

  .service_right {
    width: 100%;
  }

  .service_post_tabs {
    margin: 30px 0 15px 0;
    flex-wrap: wrap;
    border-radius: 0;
  }

  .service_img img {
    height: 250px;
    border-radius: 20px;
  }

  .service_logo_box {
    display: none;
  }

  .service_cat_main_box {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center;
  }

  .service_cat_box {
    padding: 0;
  }

  .service_cat_box_inner {
    width: 139px;
    padding: 7px;
    border-radius: 0;
    border: 1px solid #FFFFFF29;
  }

  .service_img_main {
    width: 100%;
  }

  .service_text_main {
    width: 100%;
    padding-left: 0px;
    padding-top: 15px;
  }

  .service_cat_box_name {
    font-size: 14px;
  }

  .service_post_tab_btn {
    font-size: 14px;
    padding: 5px 10px;
    width: 140px;
    text-align: center;
    border: 1px solid #ffffff1a;
  }

  .service_title {
    font-size: 22px;
    padding-bottom: 10px !important;
  }

  .service_sec::after {
    width: 200px;
  }
}

@media all and (min-width: 768px) and (max-width: 980px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 100%;
    padding-right: 0;
  }

  .service_left_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px;
  }

  .service_right {
    width: 100%;
  }

  .service_post_tabs {
    margin: 30px 0 15px 0;
  }

  .service_img img {
    height: 300px;
    border-radius: 30px 80px 30px 30px;
  }

  .service_logo_box {
    display: none;
  }

  .service_cat_main_box {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }

  .service_cat_box {
    padding: 0;
  }

  .service_cat_box_inner {
    width: 140px;
  }

  .service_img_main {
    width: 50%;
  }

  .service_text_main {
    width: 50%;
    padding-left: 15px;
  }

  .service_cat_box_name {
    font-size: 14px;
  }

  .service_post_tab_btn {
    font-size: 14px;
    padding: 10px 30px;
  }

  .service_title {
    font-size: 30px;
    padding-bottom: 10px !important;
  }

  .service_sec::after {
    width: 200px;
  }
}

@media all and (min-width: 981px) and (max-width: 1024px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 250px;
    padding-right: 30px;
  }

  .service_right {
    width: 73%;
  }

  .service_post_tabs {
    margin-bottom: 20px;
  }

  .service_img img {
    height: 390px;
    border-radius: 30px 100px 30px 30px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }

  .service_cat_box {
    padding: 5px 0;
  }

  .service_logo {
    height: 175px;
    width: 175px;
    margin: auto;
  }

  .service_logo img {
    height: 90px;
  }

  .service_img_main {
    width: 50%;
  }

  .service_text_main {
    width: 50%;
    padding-left: 15px;
  }

  .service_cat_box_name {
    font-size: 16px;
  }

  .service_post_tab_btn {
    font-size: 16px;
    padding: 10px 30px;
  }

  .service_title {
    font-size: 30px;
    padding-bottom: 10px !important;
  }

  .service_sec::after {
    width: 300px;
  }
}

@media all and (min-width: 1025px) and (max-width: 1140px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 250px;
    padding-right: 30px;
  }

  .service_right {
    width: 74%;
  }

  .service_post_tabs {
    margin-bottom: 20px;
  }

  .service_img img {
    height: 410px;
    border-radius: 30px 100px 30px 30px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }

  .service_cat_box {
    padding: 5px 0;
  }

  .service_logo {
    height: 175px;
    width: 175px;
    margin: auto;
  }

  .service_logo img {
    height: 90px;
  }

  .service_img_main {
    width: 50%;
  }

  .service_text_main {
    width: 50%;
    padding-left: 15px;
  }

  .service_cat_box_name {
    font-size: 16px;
  }

  .service_post_tab_btn {
    font-size: 16px;
    padding: 10px 40px;
  }

  .service_title {
    font-size: 30px;
    padding-bottom: 10px !important;
  }

  .service_sec::after {
    width: 300px;
  }
}

@media all and (min-width: 1141px) and (max-width: 1280px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 250px;
    padding-right: 30px;
  }

  .service_right {
    width: 75%;
  }

  .service_post_tabs {
    margin-bottom: 20px;
  }

  .service_img img {
    height: 410px;
    border-radius: 30px 100px 30px 30px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }

  .service_cat_box {
    padding: 7px 0;
  }

  .service_logo {
    height: 195px;
    width: 195px;
  }

  .service_img_main {
    width: 50%;
  }

  .service_text_main {
    width: 50%;
    padding-left: 15px;
  }

  .service_cat_box_name {
    font-size: 16px;
  }

  .service_post_tab_btn {
    font-size: 16px;
    padding: 10px 40px;
  }

  .service_sec::after {
    width: 400px;
  }
}

@media all and (min-width: 1281px) and (max-width: 1440px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 270px;
    padding-right: 50px;
  }

  .service_post_tabs {
    margin-bottom: 20px;
  }

  .service_img img {
    height: 450px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }

  .service_cat_box {
    padding: 7px 0;
  }

  .service_logo {
    height: 195px;
    width: 195px;
  }

  .service_img_main {
    width: 55%;
  }

  .service_text_main {
    width: 45%;
    padding-left: 30px;
  }

  .service_cat_box_name {
    font-size: 16px;
  }

  .service_post_tab_btn {
    font-size: 16px;
    padding: 10px 40px;
  }

  .service_sec::after {
    width: 400px;
  }
}

@media all and (min-width: 1441px) and (max-width: 1680px) {
  .service_main_box {
    padding: 0 20px;
  }

  .service_left {
    width: 270px;
    padding-right: 50px;
  }

  .service_post_tabs {
    margin-bottom: 20px;
  }

  .service_img img {
    height: 470px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }

  .service_cat_box {
    padding: 7px 0;
  }

  .service_logo {
    height: 195px;
    width: 195px;
  }

  .service_img_main {
    width: 55%;
  }

  .service_text_main {
    width: 45%;
    padding-left: 30px;
  }

  .service_sec::after {
    width: 500px;
  }

}

@media all and (min-width: 1681px) and (max-width: 1880px) {
  .service_main_box {
    padding: 0 150px;
  }

  .service_left {
    padding-right: 50px;
  }

  .service_post_tabs {
    margin-bottom: 40px;
  }

  .service_img img {
    height: 470px;
  }

  .service_cat_main_box {
    padding: 20px 0;
  }
}