/* Path/Roadmap Section - Enhanced Version */
.path-section {
  position: relative;
  background: #f1f1ff;
  min-height: 110vh; /* Increased from 100vh for more space */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center content vertically */
  padding: 4rem 1.25rem; /* Increased padding */
  overflow: hidden;
}

.path-content {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  z-index: 2;
  padding: 0 1.25rem;
  margin-bottom: 3rem; /* More space between heading and image */
}

.path-heading {
  font-size: 31px;
  font-weight: 450;
  color: #1c1f5f;
  line-height: 1.3;
  margin: 0 auto 2rem; /* Increased bottom margin */
  max-width: 800px;
}

.path-image-container {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Increase this if you want the image even larger */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.path-image {
  width: 100%;         /* Fill the container */
  max-width: 1200px;   /* Match the container's max-width */
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.path-image:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .path-section {
    min-height: auto; /* Flexible height on smaller screens */
    padding: 3rem 1.25rem;
  }
  
  .path-image-container {
    padding: 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .path-content {
    margin-bottom: 2rem;
  }
  
  .path-heading {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 6vw, 1.75rem);
  }
  
  .path-image {
    max-width: 545px; /* Allow full width on mobile */
    width: auto;
    padding-right: 10px;
  }
}