:root {
  --green: #1c8f43;
  --green-dark: #10652e;
  --green-light: #eaf8ef;
  --white: #ffffff;
  --text: #1d2b22;
  --muted: #6c7a71;
  --shadow: 0 25px 60px rgba(28, 143, 67, 0.16);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(28, 143, 67, 0.10), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(28, 143, 67, 0.08), transparent 28%),
    #fbfffc;
  overflow-x: hidden;
  perspective: 1400px;
}

a {
  text-decoration: none;
}

.services-page {
  font-family: "Poppins", sans-serif;
  transform-style: preserve-3d;
  overflow: hidden;
}

.services-page .container {
  width: min(1180px, 92%);
  margin: auto;
}

.section-padding {
  padding: 100px 0;
  transform-style: preserve-3d;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  color: var(--green);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-family: "Marcellus", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}

.section-title span {
  color: var(--green);
}

.section-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  max-width: 740px;
}

.btn-service {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--green);
  color: var(--white);
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(28, 143, 67, 0.26);
  transition: 0.35s ease;
  overflow: hidden;
  transform-style: preserve-3d;
}

.btn-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.22);
  transform: translateX(-110%) skewX(-20deg);
  transition: 0.45s ease;
}

.btn-service:hover::before {
  transform: translateX(120%) skewX(-20deg);
}

.btn-service:hover {
  transform: translateY(-6px) translateZ(30px);
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline-service {
  background: transparent;
  color: var(--green);
  border: 1px solid rgba(28, 143, 67, 0.28);
  box-shadow: none;
}

.btn-outline-service:hover {
  background: var(--green);
  color: var(--white);
}

/* Hero */
.services-hero {
  position: relative;
  padding: 115px 0 85px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.services-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(28, 143, 67, 0.08);
  top: 70px;
  left: -120px;
  filter: blur(4px);
}

.services-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(28, 143, 67, 0.09);
  right: -100px;
  bottom: 30px;
  filter: blur(4px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: heroText3D 1.2s ease both;
  transform-style: preserve-3d;
}

.hero-content h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--green);
}

.hero-content p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px;
  max-width: 650px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
  transform-style: preserve-3d;
  animation: heroVisual3D 1.4s ease both;
}

@keyframes heroText3D {
  from {
    opacity: 0;
    transform: translateX(-70px) translateZ(-120px) rotateY(18deg);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateZ(0) rotateY(0);
    filter: blur(0);
  }
}

@keyframes heroVisual3D {
  from {
    opacity: 0;
    transform: translateX(80px) translateZ(-180px) rotateY(-28deg) rotateX(10deg);
    filter: blur(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateZ(0) rotateY(0) rotateX(0);
    filter: blur(0);
  }
}

.visual-card {
  position: absolute;
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 143, 67, 0.12);
  overflow: hidden;
  transform-style: preserve-3d;
}

.visual-main {
  inset: 30px 20px 40px 40px;
  background:
    linear-gradient(135deg, rgba(28,143,67,0.94), rgba(16,101,46,0.96)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: var(--white);
  display: flex;
  align-items: end;
  padding: 35px;
  transform: rotateY(-14deg) rotateX(8deg) translateZ(40px);
  animation: mainCardFloat3D 6s ease-in-out infinite;
  will-change: transform;
}

.visual-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.42), transparent);
}

.visual-main::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -70%;
  width: 90%;
  height: 220%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.38),
    transparent
  );
  transform: rotate(28deg);
  animation: shine3D 5s ease-in-out infinite;
  z-index: 1;
}

@keyframes shine3D {
  0% {
    left: -90%;
  }

  45%, 100% {
    left: 130%;
  }
}

@keyframes mainCardFloat3D {
  0%, 100% {
    transform: rotateY(-14deg) rotateX(8deg) translateY(0) translateZ(40px);
  }

  50% {
    transform: rotateY(-8deg) rotateX(4deg) translateY(-18px) translateZ(70px);
  }
}

.visual-main .inside {
  position: relative;
  z-index: 2;
  transform: translateZ(70px);
}

.visual-main h3 {
  font-family: "Marcellus", serif;
  font-size: 36px;
  margin-bottom: 10px;
}

.visual-main p {
  line-height: 1.7;
  opacity: 0.92;
}

/* Floating 3D Cards */
.floating-card {
  position: absolute;
  z-index: 5;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(28, 143, 67, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(28, 143, 67, 0.16);
  transform-style: preserve-3d;
  animation: floatingCard3D 5s ease-in-out infinite;
}

.floating-card.one {
  top: 0;
  left: 0;
  width: 210px;
  animation-delay: 0.3s;
}

.floating-card.two {
  right: 0;
  bottom: 55px;
  width: 230px;
  animation-delay: 1.4s;
}

@keyframes floatingCard3D {
  0%, 100% {
    transform: translateY(0) translateZ(90px) rotateY(0deg);
  }

  50% {
    transform: translateY(-20px) translateZ(130px) rotateY(8deg);
  }
}

.floating-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  font-size: 21px;
  margin-bottom: 12px;
  transform: translateZ(45px);
}

.floating-card h4 {
  font-size: 17px;
  margin-bottom: 7px;
  transform: translateZ(35px);
}

.floating-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  transform: translateZ(28px);
}

/* 3D Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #1c8f43 45%, #10652e);
  box-shadow:
    inset -12px -18px 28px rgba(0,0,0,0.14),
    inset 10px 10px 24px rgba(255,255,255,0.42),
    0 24px 55px rgba(28, 143, 67, 0.25);
  z-index: 4;
  opacity: 0.85;
  pointer-events: none;
}

.orb-1 {
  width: 74px;
  height: 74px;
  top: 85px;
  right: 34px;
  animation: orbFloat1 6s ease-in-out infinite;
}

.orb-2 {
  width: 46px;
  height: 46px;
  left: 70px;
  bottom: 118px;
  animation: orbFloat2 5.5s ease-in-out infinite;
}

.orb-3 {
  width: 34px;
  height: 34px;
  right: 170px;
  bottom: 42px;
  animation: orbFloat3 7s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% {
    transform: translate3d(0, 0, 90px) rotateX(0) rotateY(0);
  }

  50% {
    transform: translate3d(-22px, -28px, 150px) rotateX(30deg) rotateY(50deg);
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate3d(0, 0, 60px) rotateX(0) rotateY(0);
  }

  50% {
    transform: translate3d(28px, -20px, 130px) rotateX(-35deg) rotateY(40deg);
  }
}

@keyframes orbFloat3 {
  0%, 100% {
    transform: translate3d(0, 0, 80px) scale(1);
  }

  50% {
    transform: translate3d(18px, -32px, 145px) scale(1.15);
  }
}

/* Intro */
.intro {
  padding: 40px 0 0;
  transform-style: preserve-3d;
}

.intro-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 143, 67, 0.10);
  transform-style: preserve-3d;
  animation: intro3D 1.1s ease both;
}

@keyframes intro3D {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(28deg) translateZ(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) translateZ(0);
  }
}

.intro-item {
  padding: 18px;
  border-radius: 22px;
  background: #fbfffc;
  transition: 0.35s ease;
  transform-style: preserve-3d;
}

.intro-item:hover {
  transform: translateY(-12px) translateZ(45px) rotateX(8deg) rotateY(-6deg);
  background: var(--green-light);
  box-shadow: 0 22px 45px rgba(28, 143, 67, 0.17);
}

.intro-item i {
  color: var(--green);
  font-size: 28px;
  margin-bottom: 14px;
  transform: translateZ(35px);
}

.intro-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  transform: translateZ(30px);
}

.intro-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  transform: translateZ(25px);
}

/* Services */
.services-head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 55px;
}

.services-head .section-text {
  margin: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  perspective: 1600px;
}

.service-card {
  position: relative;
  min-height: 390px;
  background: var(--white);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(28, 143, 67, 0.11);
  border: 1px solid rgba(28, 143, 67, 0.10);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: 0.45s ease;
  will-change: transform;
  animation: serviceEntrance3D 0.9s ease both;
}

.service-card:nth-child(1) {
  animation-delay: 0.05s;
}

.service-card:nth-child(2) {
  animation-delay: 0.15s;
}

.service-card:nth-child(3) {
  animation-delay: 0.25s;
}

.service-card:nth-child(4) {
  animation-delay: 0.35s;
}

.service-card:nth-child(5) {
  animation-delay: 0.45s;
}

@keyframes serviceEntrance3D {
  from {
    opacity: 0;
    transform: translateY(80px) translateZ(-160px) rotateX(26deg) scale(0.88);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateZ(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

.service-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--green-light);
  top: -70px;
  right: -70px;
  transition: 0.45s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255,255,255,0.42),
    transparent 70%
  );
  transform: translateX(-120%);
  transition: 0.65s ease;
  pointer-events: none;
  z-index: 3;
}

.service-card:hover::before {
  transform: scale(1.35);
  background: rgba(28, 143, 67, 0.15);
}

.service-card:hover::after {
  transform: translateX(120%);
}

.service-icon {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 25px;
  box-shadow: 0 14px 32px rgba(28, 143, 67, 0.24);
  transform: translateZ(55px);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  font-family: "Marcellus", serif;
  font-size: 28px;
  margin-bottom: 14px;
  transform: translateZ(55px);
}

.service-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
  margin-bottom: 20px;
  transform: translateZ(42px);
}

.service-list {
  position: relative;
  z-index: 2;
  list-style: none;
  display: grid;
  gap: 10px;
  padding-left: 0;
  transform: translateZ(35px);
}

.service-list li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  align-items: flex-start;
}

.service-list i {
  color: var(--green);
  margin-top: 3px;
}

.service-number {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-family: "Marcellus", serif;
  font-size: 72px;
  line-height: 1;
  color: rgba(28, 143, 67, 0.08);
  z-index: 1;
  transform: translateZ(20px);
}

/* Process */
.process {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: 46px;
  margin: 20px auto;
  width: min(1240px, 94%);
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  box-shadow:
    0 35px 90px rgba(28, 143, 67, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.20), transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.14), transparent 28%);
}

.process-content {
  position: relative;
  z-index: 2;
  padding: 85px 0;
}

.process .section-tag {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

.process .section-title,
.process .section-text {
  color: var(--white);
}

.process .section-text {
  opacity: 0.88;
}

.process-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1400px;
}

.process-step {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 26px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.process-step:hover {
  transform: translateY(-14px) translateZ(65px) rotateX(9deg);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 26px 60px rgba(0,0,0,0.18);
}

.step-no {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 18px;
  transform: translateZ(45px);
}

.process-step h4 {
  font-size: 19px;
  margin-bottom: 10px;
  transform: translateZ(34px);
}

.process-step p {
  line-height: 1.7;
  opacity: 0.86;
  font-size: 14px;
  transform: translateZ(28px);
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.benefit-image {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  background:
    linear-gradient(to top, rgba(28,143,67,0.70), rgba(28,143,67,0.04)),
    url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  animation: benefitFloat3D 6s ease-in-out infinite;
}

@keyframes benefitFloat3D {
  0%, 100% {
    transform: rotateY(8deg) rotateX(3deg) translateY(0);
  }

  50% {
    transform: rotateY(2deg) rotateX(0) translateY(-18px);
  }
}

.benefit-badge {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 22px;
  max-width: 300px;
  transform: translateZ(85px);
}

.benefit-badge h4 {
  color: var(--green);
  font-size: 22px;
  margin-bottom: 8px;
}

.benefit-badge p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.benefit-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  perspective: 1200px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(28, 143, 67, 0.10);
  box-shadow: 0 12px 35px rgba(28, 143, 67, 0.08);
  transition: 0.35s ease;
  transform-style: preserve-3d;
}

.benefit-item:hover {
  transform: translateX(12px) translateZ(55px) rotateY(-5deg);
  background: var(--green-light);
  box-shadow: 0 22px 55px rgba(28, 143, 67, 0.16);
}

.benefit-item i {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 16px;
  transform: translateZ(45px);
}

.benefit-item h4 {
  font-size: 18px;
  margin-bottom: 5px;
  transform: translateZ(35px);
}

.benefit-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  transform: translateZ(28px);
}

/* CTA */
.services-cta {
  padding: 95px 0;
  transform-style: preserve-3d;
}

.cta-box {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(28,143,67,0.94), rgba(16,101,46,0.96)),
    url("https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?auto=format&fit=crop&w=1300&q=80") center/cover;
  border-radius: 42px;
  padding: 70px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: ctaEntrance3D 1s ease both;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  top: -90px;
  left: -90px;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  bottom: -150px;
  right: -120px;
}

@keyframes ctaEntrance3D {
  from {
    opacity: 0;
    transform: translateY(70px) rotateX(22deg) translateZ(-130px);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) translateZ(0);
  }
}

.cta-box h2 {
  position: relative;
  z-index: 2;
  font-family: "Marcellus", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 18px;
  transform: translateZ(70px);
}

.cta-box p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.8;
  opacity: 0.92;
  transform: translateZ(50px);
}

.cta-box .btn-service {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--green);
  transform: translateZ(75px);
}

.cta-box .btn-service:hover {
  background: var(--green-light);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(70px) translateZ(-120px) rotateX(18deg);
  transition: 1s cubic-bezier(.19, 1, .22, 1);
  transform-style: preserve-3d;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) translateZ(0) rotateX(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .intro-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    perspective: 900px;
  }

  .services-hero {
    padding: 70px 0 55px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-service {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-main {
    inset: 40px 0 30px 0;
    padding: 25px;
    transform: none;
    animation: none;
  }

  .visual-main h3 {
    font-size: 28px;
  }

  .floating-card.one,
  .floating-card.two {
    width: 185px;
  }

  .floating-card.two {
    bottom: 20px;
  }

  .orb {
    opacity: 0.45;
  }

  .intro-box,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 70px 0;
  }

  .service-card {
    min-height: auto;
  }

  .process {
    border-radius: 28px;
  }

  .process-content {
    padding: 65px 0;
  }

  .benefit-image {
    min-height: 430px;
    animation: none;
    transform: none;
  }

  .benefit-badge {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .services-cta {
    padding: 70px 0;
  }

  .cta-box {
    padding: 50px 24px;
    border-radius: 28px;
  }

  .service-card:hover,
  .intro-item:hover,
  .process-step:hover,
  .benefit-item:hover {
    transform: translateY(-8px);
  }
}


/* ============================= */
/* Detailed Service Sections */
/* ============================= */

.service-detail-section {
  position: relative;
  padding: 105px 0;
  transform-style: preserve-3d;
  overflow: hidden;
}

.service-detail-section:nth-child(even) {
  background: linear-gradient(135deg, #ffffff, #f2fbf5);
}

.service-detail-section::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(28, 143, 67, 0.08);
  top: 80px;
  right: -100px;
  filter: blur(3px);
}

.service-detail-section.reverse::before {
  right: auto;
  left: -100px;
}

.service-detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 65px;
  align-items: center;
  transform-style: preserve-3d;
}

.service-detail-section.reverse .service-detail-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.service-detail-section.reverse .service-detail-image {
  order: 2;
}

.service-detail-section.reverse .service-detail-content {
  order: 1;
}

.service-detail-image {
  min-height: 520px;
  border-radius: 42px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 35px 80px rgba(28, 143, 67, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transform-style: preserve-3d;
  animation: detailImageFloat 6s ease-in-out infinite;
}

.service-detail-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.42), rgba(28,143,67,0.12));
  z-index: 1;
}

.service-detail-image::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -90%;
  width: 90%;
  height: 230%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.32),
    transparent
  );
  transform: rotate(28deg);
  animation: serviceImageShine 5.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes serviceImageShine {
  0% {
    left: -100%;
  }

  45%, 100% {
    left: 130%;
  }
}

@keyframes detailImageFloat {
  0%, 100% {
    transform: rotateY(8deg) rotateX(3deg) translateY(0);
  }

  50% {
    transform: rotateY(2deg) rotateX(0deg) translateY(-18px);
  }
}

.service-detail-image.naturopathy {
  background:
    linear-gradient(135deg, rgba(28,143,67,0.18), rgba(16,101,46,0.30)),
    url("https://images.unsplash.com/photo-1470116945706-e6bf5d5a53ca?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.service-detail-image.panchkarma {
  background:
    linear-gradient(135deg, rgba(28,143,67,0.18), rgba(16,101,46,0.30)),
    url("https://images.unsplash.com/photo-1600334129128-685c5582fd35?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.service-detail-image.sound {
  background:
    linear-gradient(135deg, rgba(28,143,67,0.18), rgba(16,101,46,0.30)),
    url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.service-detail-image.yoga {
  background:
    linear-gradient(135deg, rgba(28,143,67,0.18), rgba(16,101,46,0.30)),
    url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.service-detail-image.meditation {
  background:
    linear-gradient(135deg, rgba(28,143,67,0.18), rgba(16,101,46,0.30)),
    url("https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.detail-image-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 3;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-radius: 26px;
  padding: 24px;
  max-width: 310px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
  transform: translateZ(90px);
}

.detail-image-card i {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.detail-image-card h3 {
  font-family: "Marcellus", serif;
  color: var(--green);
  font-size: 26px;
  margin-bottom: 8px;
}

.detail-image-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-detail-content {
  transform-style: preserve-3d;
}

.detail-subtitle {
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.service-detail-content h2 {
  font-family: "Marcellus", serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.service-detail-content h2 span {
  color: var(--green);
}

.service-detail-content p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 16px;
  margin-bottom: 18px;
}

.detail-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.detail-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid rgba(28, 143, 67, 0.10);
  box-shadow: 0 12px 32px rgba(28, 143, 67, 0.08);
  transition: 0.35s ease;
  transform-style: preserve-3d;
}

.detail-point:hover {
  transform: translateY(-8px) translateZ(45px) rotateX(6deg);
  background: var(--green-light);
}

.detail-point i {
  color: var(--green);
  font-size: 18px;
  margin-top: 3px;
  transform: translateZ(35px);
}

.detail-point span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  transform: translateZ(25px);
}

.detail-benefits-box {
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(28,143,67,0.10), rgba(255,255,255,0.95));
  border: 1px solid rgba(28, 143, 67, 0.12);
  margin-top: 28px;
  transform-style: preserve-3d;
}

.detail-benefits-box h4 {
  font-size: 21px;
  color: var(--green);
  margin-bottom: 15px;
}

.detail-benefits-box ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 11px;
}

.detail-benefits-box li {
  color: var(--muted);
  display: flex;
  gap: 10px;
  line-height: 1.6;
  font-size: 15px;
}

.detail-benefits-box li i {
  color: var(--green);
  margin-top: 4px;
}

.detail-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.detail-mini-card {
  background: var(--white);
  border-radius: 22px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid rgba(28, 143, 67, 0.10);
  box-shadow: 0 14px 36px rgba(28, 143, 67, 0.08);
  transition: 0.35s ease;
  transform-style: preserve-3d;
}

.detail-mini-card:hover {
  transform: translateY(-10px) translateZ(55px) rotateY(-6deg);
}

.detail-mini-card i {
  color: var(--green);
  font-size: 28px;
  margin-bottom: 12px;
  transform: translateZ(35px);
}

.detail-mini-card h5 {
  font-size: 16px;
  margin-bottom: 6px;
  transform: translateZ(25px);
}

.detail-mini-card p {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 0;
  transform: translateZ(20px);
}

@media (max-width: 992px) {
  .service-detail-grid,
  .service-detail-section.reverse .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-section.reverse .service-detail-image {
    order: 1;
  }

  .service-detail-section.reverse .service-detail-content {
    order: 2;
  }

  .service-detail-image {
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .service-detail-section {
    padding: 70px 0;
  }

  .service-detail-image {
    min-height: 390px;
    animation: none;
    transform: none;
    border-radius: 28px;
  }

  .detail-image-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .detail-points,
  .detail-mini-cards {
    grid-template-columns: 1fr;
  }
}
