:root {
  --purple: #460465;
  --orange: #ff5450;
  --pure: #e8e8e8;
  --light: #f4f4f4;
  --gray: #73767d;
  --lightgray: #acb0ba;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image {
  background-image: url("/pic/blog2.webp");
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  opacity: 0.7;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--pure);
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.5rem;
}

.services {
  background: linear-gradient(to right, var(--purper), var(--orange));
  padding: 2rem;
}
.services h2 {
  color: var(--pure);
  text-align: center;
  margin-bottom: 20px;
}
section {
  margin-bottom: 0px;
}
.approach {
  padding: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 10px;
}

p {
  font-size: 1.125rem;
}

.full-width-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.approach-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.approach-item,
.service-item {
  background-color: var(--pure);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

ul {
  list-style-position: inside;
}

li {
  font-size: 1.125rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--orange);
  color: var(--pure);
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.125rem;
  transition: background-color 0.3s ease;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  background-color: #e64a46;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.approach-grid .approach-item,
.services-grid .service-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.approach-grid.is-visible .approach-item,
.services-grid.is-visible .service-item {
  opacity: 1;
  transform: translateY(0);
}

.approach-grid.is-visible .approach-item:nth-child(1),
.services-grid.is-visible .service-item:nth-child(1) {
  transition-delay: 0.1s;
}

.approach-grid.is-visible .approach-item:nth-child(2),
.services-grid.is-visible .service-item:nth-child(2) {
  transition-delay: 0.2s;
}

.approach-grid.is-visible .approach-item:nth-child(3),
.services-grid.is-visible .service-item:nth-child(3) {
  transition-delay: 0.3s;
}

.approach-grid.is-visible .approach-item:nth-child(4),
.services-grid.is-visible .service-item:nth-child(4) {
  transition-delay: 0.4s;
}

.approach-grid.is-visible .approach-item:nth-child(5) {
  transition-delay: 0.5s;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .approach-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Pulse animation for CTA button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .approach-grid .approach-item,
  .services-grid .service-item,
  .cta-button {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
/*  */
.best {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 8rem;
  width: 100%;
  gap: 2rem;
  background: linear-gradient(to right, var(--purper), var(--orange));
  margin-top: 2px;
}

.best h1 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 3.4rem;
  width: 100%;
  color: var(--pure);
  margin-bottom: 2rem;
}

.best p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  width: 90%;
 color: white;
  margin-bottom: 1.5rem;
  font-weight: 400;
 
  line-height: 1.7;
 

}

.best button {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  background-color: var(--orange);
  color: white !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.best button:hover {
  background-color: var(--purple);
  transition: all ease 3ms;
}

.best a {
  text-decoration: none;
  color: inherit;
}

.important-gf {
  background: var(--light) !important;
}

@media (max-width: 768px) {
  .best {
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    align-items: center !important;
  }

  .best h1 {
    font-size: 2.5rem;
  }

  .best p {
    font-size: 1.25rem;
    text-align: center !important;
  }

  .best button {
    /* font-size: 1.1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center !important; */
    display: none;
  }
  @media (max-width: 850px) {
    .best p {
      font-size: 28px;
    }
    .best {
      display: flex !important;
      justify-content: space-between;
      align-items: center;
      padding: 2rem 1rem;
      width: 100%;
      gap: 1rem;
      background-color: var(--light-gray);
      margin-top: 2px;
    }
  }
  @media (max-width: 690px) {
    .best h1 {
      font-weight: bolder;
      font-size: 42px;
      width: 100%;
    }
    .best p {
      font-size: 15px;
    }
  }
  @media (max-width: 576px) {
    .best {
      padding: 2rem 1rem;
    }

    .best h1 {
      font-size: 2rem;
    }

    .best p {
      font-size: 1rem;
    }

    .best button {
      font-size: 1rem;
      padding: 10px 20px;
    }
  }

  @media (max-width: 480px) {
    .best {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 3rem;
      width: 100%;
      gap: 1rem;
      flex-direction: column;
    }
    .best h1 {
      width: 100%;
      font-size: 24px !important;
    }
  }
}
