/* ==================
         sec 1 
   ==================*/

.service-sec-1 {
  position: relative;
  width: 100%;
/*   min-height: 550px; */
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 136px 20px;

  /* BACKGROUND */
  background: #0b0b0b url("../images/sec-3-bg.webp") center/cover no-repeat;
  background-size: cover;

  overflow: hidden;
}

/* CONTENT */
.service-sec-1-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1420px;
  width: 100%;
}

/* TITLE */
.service-sec-1-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

/* BREADCRUMB */
.service-sec-1-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-size: clamp(14px, 1.2vw, 16px);
  color: #aaa;
}

.service-sec-1-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-sec-1-breadcrumb a:hover {
  color: #8fff9c;
}

.service-sec-1-breadcrumb span {
  color: #ffffff;
}





/* ==================
         sec 2
   ==================*/

.service-sec-2 {
  padding: 130px 20px 170px 20px;
  border-radius: 50px 50px 0 0;
  margin-top: -50px;
  position: relative;
  background: #f3f5f4;
}

.service-sec-2-container {
  max-width: 1420px;
  width: 90%;
  margin: auto;
}

/* HEADER */
.service-sec-2-header {
  text-align: center;
  margin-bottom: 50px;
}

.service-sec-2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin: 0 0 14px;
}

.service-sec-2-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: #111;
  position: relative;
  flex: 0 0 auto;
}

.service-sec-2-kicker-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #111;
  transform: translateY(-50%);
}

.service-sec-2-kicker-dot:first-child::after {
  left: 2px;
}

.service-sec-2-kicker-dot:last-child::after {
  right: 2px;
}

.service-sec-2-header h2 {
  font-size: clamp(2.25rem, 2.0549rem + 0.8917vw, 3.125rem);
  margin-bottom: 16px;
}

.service-sec-2-header span {
  font-size: clamp(1rem, 1.0273rem + 0.4651vw, 1rem);
  color: #555;
}

/* WRAPPER */
.service-sec-2-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  height: 750px;
}

/* CARD BASE */
.service-sec-2-card {
  width: 140px;
  min-width: 140px;
  background: #ffffff;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: width 0.5s ease;
}

.service-sec-2-number {
  background: linear-gradient(90deg, #003D2B, #d6ffad);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 40px;
  left: calc(70px - 25px);
  border: 1px solid #6ddf8a;
  transition: all 0.3s ease-in-out;
}

/* ACTIVE */
.service-sec-2-card.active {
  width: 550px;
  background: linear-gradient(90deg, #003D2B, #d6ffad);
  justify-content: flex-start;
  align-items: flex-start;
}

.service-sec-2-card.active .service-sec-2-number {
  border-color: #000;
}

/* COLLAPSED */
.service-sec-2-collapsed {
  display: flex;
  align-items: end;
  height: 100%;
  padding-bottom: 40px;
  width: 140px;
  position: absolute;
  justify-content: center;
}

.service-sec-2-collapsed h4 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 600;
  font-size: clamp(1.875rem, 1.7914rem + 0.3822vw, 2.25rem);
}

/* HIDE COLLAPSED WHEN ACTIVE */
.service-sec-2-card.active .service-sec-2-collapsed {
  display: none;
}

/* EXPANDED */
.service-sec-2-expanded {
  display: none;
  padding: 120px 48px 30px 48px;
  width: 100%;
}

.service-sec-2-expanded h3 {
  font-size: clamp(1.875rem, 1.7914rem + 0.3822vw, 2.25rem);
}
.service-sec-2-card.active .service-sec-2-expanded {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-sec-2-expanded img {
  width: auto;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin: 20px 0;
}

.service-sec-2-expanded p{
	font-size: 1.25rem;
    line-height: 1.6;	
}

.service-sec-2-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: auto 0 20px 0;
  padding: 14px 26px;
  border-radius: 14px;
  max-width: 180px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  user-select: none;

  background-color: #ffffff;
  transition: all 0.4s ease;
}

/* TEXT */
.service-sec-2-btn-text {
  font-weight: 500;
  font-size: 16px;
  color: #000;
  position: relative;
  z-index: 4;
  transition: all 0.4s ease;
}

/* ICON WRAPPER */
.service-sec-2-btn-icon {
  width: 14px;
  height: 14px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

/* MOVING CONTAINER (KEY PART) */
.service-sec-2-btn-icon-box {
  display: flex;
  width: 48px;
  gap: 16px;
  transition: transform 0.4s ease;
}

/* ARROWS */
.service-sec-2-btn-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #000;
  transition: all 0.4s ease;
}

/* HOVER EFFECT */
.service-sec-2-btn:hover {
  background-color: #000;
}

.service-sec-2-btn:hover .service-sec-2-btn-text,
.service-sec-2-btn:hover .service-sec-2-btn-arrow {
  color: #fff;
  fill: #fff;
}

/* RESPONSIVE */
@media (max-width: 1350px) {
  .service-sec-2-card {
    width: 120px;
    min-width: 120px;
  }

  .service-sec-2-collapsed {
    width: 20px;
  }

  .service-sec-2-number {
    left: calc(60px - 25px);
  }

  .service-sec-2-expanded {
    padding: 120px 36px 30px 36px;
  }
}

@media (max-width: 1200px) {
  .service-sec-2-card.active {
    min-width: 380px;
    width: 380px;
  }

  .service-sec-2-wrapper {
    overflow-x: auto;
    justify-content: normal;
    height: 620px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .service-sec-2-wrapper {
    overflow-x: auto;

    /* Firefox (solid fallback only) */
    scrollbar-width: thin;
    scrollbar-color: #79eb93 #f3f5f4;
  }

  /* Chrome, Edge, Safari */
  .service-sec-2-wrapper::-webkit-scrollbar {
    height: 6px; /* horizontal scroll */
  }

  .service-sec-2-wrapper::-webkit-scrollbar-track {
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.05);
  }

  .service-sec-2-wrapper::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      #79eb93 50%,
      transparent 100%
    );
  }
}

@media (max-width: 1200px) {
  .service-sec-2 {
    padding: 60px 20px 40px 20px;
    border-radius: 30px 30px 0 0;
  }
}

.service-sec-2-expanded h3,
.service-sec-2-expanded img,
.service-sec-2-expanded p,
.service-sec-2-expanded .service-sec-2-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.service-sec-2-card.active .service-sec-2-expanded h3 {
  animation: fadeUp 0.4s ease 0.4s forwards;
}

.service-sec-2-card.active .service-sec-2-expanded img {
  animation: fadeUp 0.4s ease 0.5s forwards;
}

.service-sec-2-card.active .service-sec-2-expanded p {
  animation: fadeUp 0.4s ease 0.6s forwards;
}

.service-sec-2-card.active .service-sec-2-expanded .service-sec-2-btn {
  animation: fadeUp 0.4s ease 0.7s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}





/* ==================
         sec 3 
   ==================*/

.service-sec-3 {
  position: relative;
  overflow: hidden;
  background: #0b0b0b;
  padding: 120px 20px 130px 20px;
  color: #fff;
  border-radius: 50px 50px 0px 0px;
}

.service-sec-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/service-sec-3-bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.service-sec-3-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.service-sec-3-header {
  text-align: center;
  margin-bottom: 56px;
}

.service-sec-3-kicker {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #dcdcdc;
}

.service-sec-3-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  position: relative;
  flex: 0 0 auto;
}

.service-sec-3-kicker span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.service-sec-3-kicker span:first-child::after {
  left: 2px;
}

.service-sec-3-kicker span:last-child::after {
  right: 2px;
}

.service-sec-3-header h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-sec-3-header h2 span {
  background: linear-gradient(270deg, #c8f5a8, #6fdc8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.service-sec-3-sub {
  margin: 12px auto 0;
  max-width: 520px;
  color: #b7b7b7;
  font-size: 16px;
  line-height: 1.6;
}

.service-sec-3-slider-container {
  position: relative;
}

.service-sec-3-slider {
  position: relative;
  margin: 0 auto;
  width: 100%;
}

/* arrows: large screens left/right */
.service-sec-3-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.service-sec-3-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

.service-sec-3-prev {
  left: -50px;
}

.service-sec-3-next {
  right: -50px;
}

.service-sec-3-slider .slick-list {
  padding: 50px 0px !important;
}

.service-sec-3-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}

.service-sec-3-slider .slick-slide {
  height: auto;
  display: flex !important;
}

.service-sec-3-slider .slick-slide > div {
  width: 100%;
  display: flex;
}

.service-sec-3-card {
  padding: 0 14px;
  height: 100%;
  display: flex !important;
}

.service-sec-3-card-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 470px;
  background: rgba(255, 255, 255, 0.068);
  border-radius: 18px;
  padding: 8px;
  backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.slick-center .service-sec-3-card-inner,
.service-sec-3-card-inner:hover {
  opacity: 1;
  /* transform: translateY(-6px) scale(1.03); */
  background: rgba(255, 255, 255, 0.014);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.service-sec-3-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 24px;
  padding-bottom: 0px;
}

.service-sec-3-card-top h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
  max-width: 230px;
  color: #fff;
}

.service-sec-3-icon {
  flex: 0 0 auto;
  opacity: 0.95;
  margin-top: 4px;
}

.service-sec-3-icon svg {
  width: 48px;
  height: 48px;
  fill: #fff;
  transition:
    fill 240ms ease,
    filter 240ms ease;
}

.slick-center .service-sec-3-icon svg,
.service-sec-3-card:hover .service-sec-3-icon svg {
  fill: #84ef91;
  filter: drop-shadow(0 0 10px #79eb94a8);
}

.service-sec-3-card-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  margin: 12px 22px 12px 22px;
}

.service-sec-3-desc {
  margin: 0 0 18px;
  color: #bdbdbd;
  font-size: 15px;
  line-height: 1.6;
  min-height: 48px;
  transform: translateY(8px);
  margin-bottom: -40px;
  opacity: 0;
  padding: 0px 21px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    all 0.3s ease;
}

.slick-center .service-sec-3-desc,
.service-sec-3-card:hover .service-sec-3-desc {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 18px;
}

.service-sec-3-card img {
  width: 100%;
  height: 358px;
  object-fit: cover;
  border-radius: 16px;
  margin-top: auto;
  display: block;
  transition: all 0.3s ease;
}

.service-sec-3-card:hover img,
.slick-center img {
  height: 275px;
}

/* .service-sec-3-card:hover .service-sec-3-card-inner {
  transform: translateY(-6px) scale(1.03);
  opacity: 1;
}

.service-sec-3-slider .slick-slide:not(.slick-center) .service-sec-3-card-inner {
  filter: saturate(0.9);
} */

@media (max-width: 1450px) {
  .service-sec-3-arrow {
    top: auto;
    bottom: -62px;
    transform: none;
  }

  .service-sec-3-prev {
    left: 50%;
    margin-left: -56px;
  }

  .service-sec-3-next {
    left: 50%;
    margin-left: 10px;
    right: auto;
  }

  .service-sec-3 {
    padding: 120px 20px 170px 20px;
  }
}

/* responsive */
@media (max-width: 1100px) {
  .service-sec-3-card-inner {
    min-height: 450px;
  }

  .service-sec-3-card-top h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .service-sec-3 {
    padding-bottom: 170px;
  }

  .service-sec-3-card {
    padding: 0 10px;
  }

  .service-sec-3-card-inner {
    min-height: 430px;
  }

  .service-sec-3-card img {
    height: 250px;
  }
}

@media (max-width: 520px) {
  .service-sec-3-card-inner {
    min-height: 410px;
    padding: 22px;
  }

  .service-sec-3-card-top h3 {
    font-size: 22px;
  }

  .service-sec-3-arrow {
    width: 42px;
    height: 42px;
  }
}





/* ==================
         sec 4 
   ==================*/


.service-sec-4 {
  padding: 0px 20px 170px 20px;
  background: #f3f5f4;
  border-radius: 50px 50px 0 0;
  margin-top: -50px;
  position: relative;
}

.service-sec-4-container {
  max-width: 1420px;
  width: 90%;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */
.service-sec-4-left {
  position: sticky;
  top: 0;
}

.service-sec-4-kicker {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0 0 14px;
}

.service-sec-4-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #111;
  position: relative;
  flex: 0 0 auto;
}

.service-sec-4-kicker-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #111;
  transform: translateY(-50%);
}

.service-sec-4-kicker-dot:first-child::after {
  left: 2px;
}

.service-sec-4-kicker-dot:last-child::after {
  right: 2px;
}

.service-sec-4-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 10px 0;
  font-weight: 600;
  letter-spacing: 0.9px;
}

.service-sec-4-desc {
  color: #777;
  max-width: 480px;
  margin-bottom: 40px;
}

/* INFO GRID */
.service-sec-4-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-sec-4-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.service-sec-4-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, #003D2B, #6fdc8c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 12px solid #fff;
}

.service-sec-4-icon svg {
  width: 24px;
  height: 24px;
}

.service-sec-4-item h4 {
  margin: 0 0 6px;
}

.service-sec-4-item p {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.service-sec-4-link-underline a {
  text-decoration: none;
  color: #777;
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
  overflow: hidden;
}

.service-sec-4-link-underline a::before {
  content: "";
  position: absolute;
  background-color: #000;
  height: 1px;
  width: 100%;
  transform: translateX(-110%);
  z-index: 0;
  bottom: 0;
  transition: transform 0.4s ease;
}

.service-sec-4-link-underline a::after {
  content: "";
  position: absolute;
  background-color: #000;
  height: 1px;
  width: 100%;
  transform: translateX(10%);
  z-index: 0;
  bottom: 0;
  transition: transform 0.4s ease;
}

.service-sec-4-link-underline a:hover::before {
  transform: translateX(-50%);
}

.service-sec-4-link-underline a:hover::after {
  transform: translateX(-50%);
}

/* FORM */
.service-sec-4-form {
  background: #ffffff;
  padding: 60px;
  border-radius: 24px;
}

.service-sec-4-form h3 {
  margin-bottom: 40px;
  font-size: 24px;
}

/* GRID */
.service-sec-4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  margin-bottom: 20px;
}

.service-sec-4-form input,
.service-sec-4-form select,
.service-sec-4-form textarea {
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #f3f5f4;
  outline: none;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.service-sec-4-form .field-box{
	position: relative;
    padding-bottom: 23px;
}

.service-sec-4-form .field-box .error-msg{
	position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 12px;
    color: #ff1414;
}

.service-sec-4-form textarea {
  height: 120px;
  resize: none;
  margin-bottom: 40px;
}

.service-sec-4-form input:focus-within,
.service-sec-4-form select:focus-within,
.service-sec-4-form textarea:focus-within {
  border-color: #6fdc8c;
}

.service-sec-4-form input::placeholder,
.service-sec-4-form select::placeholder,
.service-sec-4-form textarea::placeholder {
  color: #b8b8b8;
}

/* BUTTON */
.service-sec-4-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 26px;
  border-radius: 14px;
  max-width: 250px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  user-select: none;

  background-color: #c8f5a8;

  transition: all 0.4s ease;
}

.service-sec-4-btn::before {
  content: "";
  background: linear-gradient(88deg, transparent, #003D2B, transparent);
  position: absolute;
  height: 100%;
  width: 100%;
  transform: translateX(-50%);
  z-index: 0;
  transition: transform 0.4s ease;
}

/* TEXT */
.service-sec-4-btn-text {
  font-weight: 500;
  font-size: 16px;
  color: #000;
  position: relative;
  z-index: 4;
}

/* ICON WRAPPER */
.service-sec-4-btn-icon {
  width: 14px;
  height: 14px;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

/* MOVING CONTAINER (KEY PART) */
.service-sec-4-btn-icon-box {
  display: flex;
  width: 48px;
  gap: 16px;
  transition: transform 0.4s ease;
}

/* ARROWS */
.service-sec-4-btn-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* HOVER EFFECT */
.service-sec-4-btn:hover::before {
  transform: translateX(50%);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 992px) {
  .service-sec-4-container {
    grid-template-columns: 1fr;
  }

  .service-sec-4-form {
    padding: 30px;
  }

  .service-sec-4-left {
    position: static;
  }
}

@media (max-width: 600px) {
  .service-sec-4-info {
    grid-template-columns: 1fr;
  }

  .service-sec-4-grid {
    grid-template-columns: 1fr;
  }

  .service-sec-4 {
    padding: 0px 20px 80px 20px;
    border-radius: 30px 30px 0 0;
  }
	
	.service-sec-2-number{
		width: 40px;
  		height: 40px;
	}
	
	.service-sec-2-expanded{
		padding: 90px 36px 30px 36px;
	}
}
