:root {
  --color-primary: #39a452;
  --color-secondary: #355355;
  --color-text-dark: #111827;
  --color-text-light: #4b5563;
  --color-text-subtle: #a9aaaa;
  --color-white: #ffffff;
  --color-background-light: #f9fafb;
  --color-background-accent: #e1ffe8;
 --primary-green: #39a452;
  --dark-green: #184234;
  --dark-teal: #355355;
  --text-gray-dark: #5c5b5b;
  --text-gray-light: #acabaa;
  --text-gray-medium: #4b5563;
  --white: #ffffff;
  --black: #000000;
  --light-green-bg: rgba(57, 164, 82, 0.16);
  --light-green-bg-2: rgba(57, 164, 82, 0.09);
  --dark-green-bg: rgba(24, 66, 52, 0.98);
}
*{
  margin: 0;
  padding: 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 0px;
  padding-bottom: 120px;
}

.background-gradients {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #56ae6b 0%, #F2FFF5 40%, #FFFFFF 100%);
  
  background: linear-gradient(180deg, #cdf8d7 25%, #F2FFF5 65%, #FFFFFF 85%);
}

.hero-content {
  display: flex;
  align-items: center;
  margin: 60px;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 584px;
}

.hero-tag {
  display: inline-block;
background: radial-gradient(
  ellipse at 25% 75%, /* position tuned to mimic -63deg diagonal */
  #D2D0D0 0%,
  #355355 100%
);

  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero-text h1 {
  font-size: 70px;
  line-height: 1.1;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 30px;
}

.hero-text h1 .highlight {
  display: block;
  color: var(--color-primary);
  font-weight: 300;
  font-size: 50px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.hero-images {
  flex: 1;
  position: relative;
  height: 450px;
}

.hero-main-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 550px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  z-index: 1;
}

.hero-secondary-image-wrapper {
  position: absolute;
  top: 150px;
  right: 400px;
  transform: rotate(14.15deg);
  z-index: 2;
}

.hero-secondary-image {
  width: 250px;
  height: 300px;
  object-fit: cover;
  transform: rotate(-21.36deg);
}
.services-section {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 40px;
  margin: 50px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: -4px 10px 7px 0px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-background-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.service-icon-wrapper img {
  max-width: 40px;
  max-height: 40px;
}

.merged-icon-container {
  position: relative;
  width: 34px;
  height: 34px;
}

.merged-icon-part {
  position: absolute;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.service-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-light);
}
.arrow{
  margin-top: 141px;
}

.how-it-works-section {
  background-color: var(--color-white);
  margin-top: 100px;
}

.how-it-works-container {
  background-color: var(--color-background-light);
  border: 1px solid var(--color-primary);
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 3px -5px 4px 0px rgba(0, 0, 0, 0.12);
  margin: 50px;
}

.how-it-works-title {
  font-size: 36px;
  font-weight: 700;
  background: radial-gradient(173.07% 205.27% at 50% 50%, #39a452 0%, rgba(255, 255, 255, 0.69) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.steps-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
}

.step-card {
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
      height: 226px;
    width: 262px;
  box-shadow: -8px 5px 4px 0px rgba(0, 0, 0, 0.07);
}

.step-icon {
  font-size: 48px;
  line-height: 1;
}

.step-number {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 400;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.step-card p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-light);
}

.step-arrow {
  align-self: center;
}
.testimonials-section {
  background-color: var(--color-white);
}

.testimonials-section .section-header h2 {
  font-size: 40px;
  font-weight: 600;
}

.testimonials-section .section-header p {
  font-size: 16px;
  font-weight: 500;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 50px;
}

.testimonial-card {
  flex: 1;
  max-width: 352px;
  background: conic-gradient(from 163deg at 50% 50%, rgba(225, 255, 232, 0.2) 1.53deg, rgba(57, 164, 82, 0.2) 105.24deg, rgba(98, 186, 119, 0.2) 168.58deg);
  border: 1px solid var(--color-primary);
  border-radius: 16px;
  padding: 27px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.stars {
  display: flex;
  gap: 8px;
}

.stars img {
  width: 20px;
  height: 20px;
}

.testimonial-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-secondary);
}
@media (max-width: 1200px) {
  .testimonials-container {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }
}
/* Responsive for devices ≤ 1024px */
@media (max-width: 1024px) {
  .hero-content {
    margin: 40px 20px;
  }
  .hero-text h1 {
    font-size: 56px;
  }
  .hero-text h1 .highlight {
    font-size: 40px;
  }
  .hero-images {
    height: 400px;
  }
  .hero-main-image {
    width: 80%;
    max-width: 500px;
    right: 50%;
    transform: translateX(50%);
  }
  .hero-secondary-image-wrapper {
        right: 100%;
        transform: translateX(70%) rotate(14.15deg);
        top: 166px;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 10px;
    gap: 40px 30px;
  }
  .section-header h2 {
    font-size: 38px;
  }
  .testimonials-section .section-header h2 {
    font-size: 36px;
  }
  .testimonials-container {
    gap: 50px;
    margin: 20px;
  }
}
/* Responsive for devices ≤ 768px */
@media (max-width: 768px) {

  .hero-text h1 {
    font-size: 42px;
    text-align: start;
  }
  .hero-text h1 .highlight {
    font-size: 32px;
  }
  .hero-images {
    height: 350px;

  }
  .hero-main-image {
    width: 100%;
    max-width: 400px;
    right: 50%;
    transform: translateX(50%);
     position: relative;
  }
  .services-grid {
          grid-template-columns: repeat(2, 1fr);
        margin: 30px;
        gap: 39px 20px;
  }
  .how-it-works-container {
    padding: 40px 20px;
  }
  .steps-wrapper {
                flex-direction: column;
        margin: 20px 43px;
        flex-wrap: wrap;
        gap: 35px 9px;
        align-items: center;
        justify-content: center;
  }
    .arrow{
    margin-top: 10px;
    rotate: 90deg;
  }
}
/* Responsive for devices ≤ 480px */
@media (max-width: 480px) {
  .hero-section {
    height: 900px;
  }
  .hero-content {
    flex-direction: column;
    margin: 20px 10px;
    gap: 60px;
  }
  .hero-text h1 {
    font-size: 32px;
    text-align: start;
  }
  .hero-text h1 .highlight {
    font-size: 24px;
  }
        .hero-images {
    height: 500px; 
  width: 100%;
  }
  .services-grid {
          grid-template-columns: 1fr;
        margin: 20px;
        gap: 30px 0px;
  }
  .steps-wrapper {
                flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 20px;
        gap: 25px;
  }
  .step-card {
    width:145px;
    max-width: 300px;
  }
  .arrow{
    margin-top: 10px;
    rotate: 90deg;
  }
  
.hero-secondary-image {
        width: 280px;
        height: 270px;

}
    .how-it-works-container {
        padding: 35px 12px;
    }
}