@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ═══════════════════════════════
   SECTION BASE
═══════════════════════════════ */

.services-section {
  background: var(--white);
  padding:25px 100px;
}

.services-section h2 {
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--crimson);
}

.services-section p {
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 1.3vw, 15px);
  padding-bottom:20px ;
  line-height: 1.9;
  color: var(--txt-mid);
  text-align: justify;
}

/* ═══════════════════════════════
   ROW LAYOUT — desktop side by side
═══════════════════════════════ */

.services-section .row {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
}

/* ═══════════════════════════════
   LEFT STICKY IMAGE
═══════════════════════════════ */

.services-left {
  position: relative;
  width: 50%;
  flex-shrink: 0;
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.services-sticky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease, transform 1s ease;
}

/* overlay */
.services-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.08));
  z-index: 2;
}

/* ═══════════════════════════════
   RIGHT CONTENT
═══════════════════════════════ */

.services-right {
  width: 50%;
  padding: 0 70px;
  background: #fff;
}

/* ═══════════════════════════════
   SERVICE ITEM
═══════════════════════════════ */

.service-item {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 60px 0;
}

/* LABEL */
.service-label {
  font-size: 20px;
  font-family: var(--font-family);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #590B0F;
  margin-bottom: 20px;
  display: block;
}

/* HEADING */
.service-item h2 {
  font-family: var(--font-family);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 400;
  color: #5d2b2b;
  margin-bottom: 24px;
}

/* TEXT */
.service-item p {
  max-width: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  text-align: justify;
  line-height: 1.95;
  color: #666;
}

/* ═══════════════════════════════
   FEED ANIMATION
═══════════════════════════════ */

[data-feed] {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

[data-feed].show {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════
   TABLET — 991px
═══════════════════════════════ */

@media (max-width: 991px) {
  .services-section .row {
    flex-wrap: wrap;
  }

  /* Image column: full width, fixed compact height */
  .services-left {
    width: 100%;
    flex-shrink: unset;
  }

  .services-sticky {
    position: relative;
    top: unset;
    height: 45vw;
    min-height: 260px;
    max-height: 400px;
  }

  /* Right column: full width */
  .services-right {
    width: 100%;
    padding: 0 40px;
  }

  .service-item {
    min-height: auto;
    padding: 60px 0;
  }

  .service-item h2 {
    font-size: 30px;
  }

  .service-label {
    font-size: 17px;
  }
}

/* ═══════════════════════════════
   MOBILE — 768px
═══════════════════════════════ */

@media (max-width: 768px) {
  .services-sticky {
    height: 55vw;
    min-height: 220px;
    max-height: 320px;
  }

  .services-right {
    padding: 0 24px;
  }

  .service-item {
    padding: 48px 0;
  }

  .service-item h2 {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: 18px;
  }

  .service-label {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .service-item p {
    font-size: 14px;
    line-height: 1.85;
  }

  .text-white{
    font-size: 28px !important;
    padding-left: 25px;
    text-align: center;
  }
}

/* ═══════════════════════════════
   SMALL MOBILE — 480px
═══════════════════════════════ */

@media (max-width: 480px) {
  .services-sticky {
    height: 60vw;
    min-height: 200px;
    max-height: 280px;
  }

  .services-right {
    padding: 0 16px;
  }

  .service-item {
    padding: 36px 0;
  }

  .service-item h2 {
    font-size: clamp(18px, 5vw, 22px);
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .service-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }

  .service-item p {
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
  }

  /* section general padding */
  .services-section {
    padding: 0;
  }
}