.ct-timeline {
  position: relative;
  margin: 50px auto;
  width: 90%;
}
.ct-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #ddd;
  z-index: 0;
}
.ct-step {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 60px 0;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.ct-step.active { opacity: 1; }

.ct-step .ct-content,
.ct-step .ct-image {
  width: 45%;
}

.ct-step.left .ct-content { order: 1; text-align: left; }
.ct-step.left .ct-image { order: 2; }
.ct-step.right .ct-content { order: 2; text-align: left; }
.ct-step.right .ct-image { order: 1; }

.ct-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff !important;
  color: #8C2E2C !important;
  border-radius: 0;
  width: 40px;
  height: 80px;
  display: flex;
  font-size: 44px;
  font-family: 'Poppins';
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}
.ct-step.active .ct-number {
  background: #002f6c;
  color: #fff;
}

.ct-timeline::before {
  background: linear-gradient(to bottom, #8C2E2C var(--progress, 0%), #ddd var(--progress, 0%));
}

.ct-content h3 {
  font-family: "Aeonik Bold", Sans-serif !important;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
}

/* 🔹 Description (WYSIWYG output) */
.ct-desc {
  margin-bottom: 30px;
  font-family: "Aeonik Regular", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.ct-desc p {
  margin-bottom: 15px;
}
.ct-desc ul {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style: disc;
}
.ct-desc ol {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style: decimal;
}
.ct-desc strong {
  font-weight: 600;
  color: #8C2E2C;
}
.ct-desc a {
  color: #002f6c;
  text-decoration: underline;
}
.ct-desc a:hover {
  color: #8C2E2C;
}

/* 🔹 Elementor / FA Icon inside button */
.ct-timeline .aware-btn .elementor-button .elementor-button-icon i,
.ct-timeline .aware-btn .elementor-button .elementor-button-icon svg {
  font-size: 18px !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
}

/* 🔹 Custom PNG/JPG icon */
.ct-timeline .aware-btn .elementor-button .btn-img-icon {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  object-fit: contain !important;
  margin-left: 6px !important;
}

/* 🔹 Ripple aware-btn effect */
.aware-btn .elementor-button {
  position: relative;
  overflow: hidden;
}
.aware-btn .elementor-button .elementor-button-content-wrapper {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.aware-btn .elementor-button::before {
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background:#fff;
  transition: width 0.8s, height 0.8s;
  z-index: 0;
}
.aware-btn .elementor-button:hover::before {
  width: 1000px;
  height: 1000px;
}

.ct-content p {
  padding: 0px 0 30px 0;
}

/* 🔹 Mobile responsive */
@media screen and (max-width: 768px) {
  .ct-timeline::before { content: none; }
  .ct-step {
    flex-direction: column !important;
    width: 100%;
    margin: 40px 0;
    position: relative;
  }
  .ct-step .ct-image { display: none !important; }
  .ct-step .ct-content { width: 100% !important; }
  .ct-step .ct-number {
    position: absolute;
    top: 0;
    width: 35px;
    height: 35px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #002f6c;
    color: #fff;
    z-index: 2;
  }
  .ct-step.left .ct-number { left: 10px; }
  .ct-step.left::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 9px;
    width: 2px;
    height: 100%;
    background: #ddd;
    z-index: 0;
  }
  .ct-step.right .ct-number {
    left: auto;
    right: -33px;
    top: -2px;
    font-size: 18px;
  }
  .ct-step.right::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0px;
    width: 2px;
    height: 100%;
    background: #ddd;
    z-index: 0;
  }
  .ct-step.left .ct-content { padding-left: 30px; }
  .ct-step.right .ct-content { padding-right: 20px; }
  .ct-content h3 { font-size: 30px; }
  .ct-step.active::before { background: #8C2E2C; }
}