/* HOME FEATURES SECTION */
.features-section {
  padding: 8rem 2rem;
  background-color: #e4ebf0;
  font-family: 'Space Grotesk', sans-serif;
}

.features-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  perspective: 1200px;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-90px) translateZ(-160px);
  transform-style: preserve-3d;
}

.features-container.is-visible .feature-item {
  animation: featureSlideIn 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.features-container.is-visible .feature-item:nth-child(1) {
  animation-delay: 0.1s;
  z-index: 3;
}

.features-container.is-visible .feature-item:nth-child(2) {
  animation-delay: 0.25s;
  z-index: 2;
}

.features-container.is-visible .feature-item:nth-child(3) {
  animation-delay: 0.4s;
  z-index: 1;
}

.feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg,
.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.3;
  margin: 0;
}

.feature-description {
    color: #383a3a;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

/* CONSULTANTS SECTION */
.consultants-section {
  padding: 0 clamp(1.5rem, 6vw, 6rem) 0;
  padding-bottom: 5em;
  background-color: #e4ebf0;
  font-family: 'Space Grotesk', sans-serif;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
  min-height: 570px;
}

.consultants-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem) 0;
  max-width: 540px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.consultants-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e85107;
  line-height: 1.3;
  margin: 0;
}

.consultants-text {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.consultants-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #ffffff;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 2rem;
}

.consultants-button:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.consultants-button svg {
  transition: transform 0.3s ease;
}

.consultants-button:hover svg {
  transform: translateX(4px);
}

.consultants-image {
  width: 100%;
  height: 630px;
  overflow: hidden;
  align-self: flex-start;
  position: relative;
  margin-bottom: -100px;
  z-index: 2;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.consultants-section.is-visible .consultants-content {
  animation: consultantsRise 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  animation-delay: 0.15s;
}

.consultants-section.is-visible .consultants-image {
  animation: consultantsRise 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  animation-delay: 0.25s;
}

.consultants-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .feature-item {
    gap: 1.25rem;
  }

.feature-item:nth-child(1) {
  animation-delay: 0.1s;
  z-index: 3;
}

.feature-item:nth-child(2) {
  animation-delay: 0.25s;
  z-index: 2;
}

.feature-item:nth-child(3) {
  animation-delay: 0.4s;
  z-index: 1;
}

  .consultants-section {
    padding: 0 3rem 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    min-height: 520px;
  }

  .consultants-content {
    max-width: none;
    padding: 3rem 3rem 3rem 0;
    margin-left: 0;
  }

  .consultants-title {
    font-size: 2rem;
  }

  .consultants-text {
    font-size: 1.25rem;
  }

  .consultants-image {
    height: 520px;
    margin-bottom: -80px;
  }
}

@keyframes featureSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-90px) translateZ(-160px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

@keyframes consultantsRise {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 4rem 1.5rem;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-item {
    gap: 1.25rem;
  }
  
  .feature-icon svg,
  .feature-icon img {
    width: 40px;
    height: 40px;
  }

  .consultants-section {
    padding: 0 1.5rem 4rem;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .consultants-content {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .consultants-title {
    font-size: 1.75rem;
  }

  .consultants-text {
    font-size: 1rem;
  }

  .consultants-image {
    height: 320px;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .features-section,
  .consultants-section {
    padding: 3rem 1rem;
  }

  .consultants-section {
    padding: 0 1rem 3rem;
  }

  .feature-item {
    gap: 1rem;
  }

  .feature-icon svg,
  .feature-icon img {
    width: 36px;
    height: 36px;
  }

  .feature-title {
    font-size: 1.125rem;
  }

  .feature-description {
    font-size: 0.9375rem;
  }

  .consultants-title {
    font-size: 1.5rem;
  }

  .consultants-text {
    font-size: 0.9375rem;
  }

  .consultants-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .consultants-image {
    height: 260px;
    margin-bottom: 0;
  }
}

