body {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

hr {
  color: var(--accent-secondary);
}

.timeline__cover {
  padding: 100px 0;
}
.timeline__cover .timeline__title {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}
.timeline__cover .timeline__title h2 {
  font-size: 35px;
  margin-bottom: 16px;
}
.timeline__cover .timeline__title p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  color: #959595;
}

.timeline__cover .timeline {
  padding-top: 64px;
}
.timeline__cover .timeline ul {
  padding-top: 100px;
}
.timeline__cover .timeline ul li {
  position: relative;
  margin: 0 auto;
  width: 2px;
  margin-bottom: 48px;
  list-style-type: none;
}

.timeline__cover .timeline ul li:nth-child(odd) {
  background: var(--gradient-accent);
}

.timeline__cover .timeline ul li:nth-child(even) {
  background: var(--gradient-primary);
}

.timeline__cover .timeline ul li:last-child {
  padding-bottom: 7px;
  width: 0;
  height: 0;
}

.timeline__cover .timeline ul li:nth-child(even)::before {
  content: "";
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.timeline__cover .timeline ul li:nth-child(odd)::before {
  content: "";
  background: var(--accent-secondary);
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.timeline__cover .timeline ul li .hidden {
  opacity: 0;
}

.timeline__cover .timeline ul li .content {
  position: relative;
  top: -100px;
  width: 289px;
}

.timeline__cover .timeline ul li .content .badge {
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  display: inline-block;
  padding: 6px 12px;
  background: var(--accent-color);
  border-radius: 1000px;
}

.timeline__cover .timeline ul li .content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  margin: 16px 0 8px;
}

.timeline__cover .timeline ul li .content p {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.timeline__cover .timeline ul li:nth-child(odd) .content {
  left: 70px;
}

.timeline__cover .timeline ul li:nth-child(odd) .content:before {
  left: -38px;
}

.timeline__cover .timeline ul li:nth-child(even) .content {
  left: calc(-289px - 70px);
}

.timeline__cover .timeline ul li:nth-child(even) .content:before {
  right: -38px;
}

@media screen and (max-width: 1020px) {
  .timeline__cover .timeline ul li .content {
    width: 41vw;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: calc(-41vw - 45px);
  }
}

@media screen and (max-width: 700px) {
  .timeline__cover {
    padding: 32px 0;
  }
  .timeline__cover .timeline__title {
    text-align: left;
  }
  .timeline__cover .timeline {
    padding-top: 32px;
  }
  .timeline__cover .timeline ul li {
    margin-left: 48px !important;
  }
  .timeline__cover .timeline__title h2 {
    font-size: 32px;
  }
  .timeline__cover .timeline ul li {
    margin-left: 20px;
  }

  .timeline__cover .timeline ul li .content {
    width: calc(100vw - 150px);
    transition: 0.2s;
  }

  .timeline__cover .timeline ul li .content p {
    min-height: 110px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content {
    left: 38px;
  }

  .timeline__cover .timeline ul li:nth-child(even) .content:before {
    left: -33px;
  }
  .timeline__cover .timeline ul li:nth-child(odd) .content {
    left: 38px;
  }
}

/* --- NEW: Founder Message Section --- */
.founder-message-section {
    background-color: var(--alt-bg); /* Use an alternate background for distinction */
    border-radius: 15px;
    padding: 3rem 2rem !important;
    box-shadow: var(--shadow-light);
}

.founder-message-section .founder-image-wrapper {
    width: 200px; /* Adjust size as needed */
    height: 200px; /* Ensure aspect ratio */
    border-radius: 50%;
    overflow: hidden;
    /* border: 5px solid var(--accent-secondary); A subtle border in accent color */
    display: flex; /* For perfect centering of the image */
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking on smaller screens */
}

.founder-message-section .founder-image-wrapper img {
    width: 110%;
    height: 110%;
    object-fit: cover; /* Cover ensures the image fills the circle */
}

.founder-message-section .section-title {
    color: var(--primary-color); /* Emphasize with primary color */
}

/* Adjust text alignment for smaller screens */
@media (max-width: 991.98px) {
    .founder-message-section .text-lg-start {
        text-align: center !important;
    }
}

.about-page-content .subheading {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.about-page-content .section-title {
  color: var(--text-color);
  line-height: 1.2;
  text-align: left;
  font-weight: 600;
}

.about-page-content .section-title::after {
  content: unset;
}

.story-block .image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid white;
}

.quality-block {
  border-radius: 12px;
  background: var(--gradient-primary);
  padding: 4rem 2rem !important;
  color: white;
}

.btn-outline-primary-custom {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
  border-radius: 50px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-outline-primary-custom:hover {
  color: white;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-accent);
}

.btn-outline-light-custom {
  color: white;
  border-color: white;
  background-color: transparent;
  border-radius: 50px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-outline-light-custom:hover {
  color: var(--primary-color);
  background-color: white;
  border-color: white;
  transform: translateY(-2px);
}

/* --- Section 2: MVV Cards --- */
.mvv-section {
  padding: 3rem 0;
  margin-left: -15px;
  margin-right: -15px;
}

.mvv-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background-color: white;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-light);
}

.mvv-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.mvv-card i {
  color: var(--accent-secondary) !important;
}

/* --- Section 4 & 5: Process Detail --- */
.process-detail-section {
  padding: 5rem 0;
}

.process-step {
  position: relative;
}

.process-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-accent);
}

.process-detail-section h4,
.process-detail-section h5 {
  color: var(--primary-color);
}

/* --- Enhanced Process Section Styles --- */
.process-timeline {
  position: relative;
  overflow: hidden;
}

.process-step {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.process-step.animate-step {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Keyframe for fade-in and slide-up */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Arrow connectors */
.arrow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-svg {
  width: 50px;
  height: 20px;
}

.arrow-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawArrow 1.5s ease-out forwards;
  animation-delay: 2.2s;
  /* Adjusted for 5 steps */
}

@keyframes drawArrow {
  0% {
    stroke-dashoffset: 50;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* Hover effects for interactivity */
.process-step:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.process-step:hover .process-icon {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .process-step {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .arrow-path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Mobile adjustments: Hide arrows and adjust spacing */
@media (max-width: 991px) {
  .arrow-connector {
    display: none;
  }

  .process-timeline .row {
    flex-direction: column;
  }

  .process-step {
    margin-bottom: 2rem;
  }
}
