/* Hookana Timeline Styles */
:root {
  --crimson-punch: #d72638;
  --ink-navy: #1a1f71;
  --grit-charcoal: #2a2a2a;
  --faded-sky: #aa81e1;
  --light-bg: #f9f9f9;
  --white: #ffffff;
}

.timeline-area {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 30px;
}

.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-header .section-subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--crimson-punch);
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-header .section-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--grit-charcoal);
  margin-bottom: 20px;
}

.timeline-header .text {
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(42, 42, 42, 0.8);
}

.timeline-wrapper {
  position: relative;
  padding-top: 40px;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--crimson-punch);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-item-content {
  position: relative;
  background-color: var(--white);
  width: calc(50% - 40px);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.timeline-item-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(odd) .timeline-item-content {
  margin-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-item-content {
  margin-left: 40px;
}

.timeline-item-content::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-item-content::after {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-item-content::after {
  left: -10px;
}

.timeline-item-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson-punch);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.timeline-item-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--ink-navy);
}

.timeline-item-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(42, 42, 42, 0.8);
}

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--crimson-punch);
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-dot::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--white);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Responsive styles */
@media (max-width: 991px) {
  .timeline-header .section-title {
    font-size: 36px;
  }

  .timeline-wrapper::before {
    left: 40px;
  }

  .timeline-dot {
    left: 40px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
  }

  .timeline-item-content {
    width: calc(100% - 80px);
  }

  .timeline-item:nth-child(odd) .timeline-item-content {
    margin-right: 0;
    margin-left: 40px;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-item-content {
    margin-left: 40px;
  }

  .timeline-item:nth-child(odd) .timeline-item-content::after {
    right: auto;
    left: -10px;
  }
}

@media (max-width: 767px) {
  .timeline-area {
    padding: 80px 0;
  }

  .timeline-header {
    margin-bottom: 40px;
  }

  .timeline-header .section-title {
    font-size: 28px;
  }

  .timeline-header .text {
    font-size: 16px;
  }

  .timeline-item-title {
    font-size: 20px;
  }

  .timeline-item-content {
    padding: 20px;
  }
}

/* Animation classes */
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Timeline section fade in animation */
.timeline-area.fade-anim .timeline-header,
.timeline-area.fade-anim .timeline-wrapper {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Call to Action Styles */
.cta-area-about {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-about-inner {
  position: relative;
  background: linear-gradient(180deg, #fffaf4 48px, #f5f0ea 48px, #f5f0ea 100%);
  border-radius: 20px;
  padding: 70px 50px;
  z-index: 1;
  overflow: hidden;
}

.cta-about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-about-bg .shape-1 {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(215, 38, 56, 0.1);
  border-radius: 50%;
}

.cta-about-bg .shape-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: rgba(170, 129, 225, 0.1);
  border-radius: 50%;
}

.cta-content .subtitle {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--crimson-punch);
  margin-bottom: 15px;
  display: inline-block;
}

.cta-content .title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--grit-charcoal);
  margin-bottom: 20px;
}

.cta-content .text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(42, 42, 42, 0.8);
  margin-bottom: 30px;
  max-width: 90%;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.cta-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-features .feature-item .icon {
  width: 28px;
  height: 28px;
  background: var(--crimson-punch);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
}

.cta-features .feature-item p {
  font-size: 16px;
  color: var(--grit-charcoal);
  margin: 0;
}

.cta-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.t-btn-big {
  padding: 18px 35px;
  font-size: 18px;
  font-weight: 600;
}

.cta-tag {
  margin-top: 20px;
  text-align: center;
}

.cta-tag p {
  color: rgba(42, 42, 42, 0.7);
  font-size: 15px;
}

.cta-tag a {
  color: var(--crimson-punch);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-tag a:hover {
  color: var(--ink-navy);
}

/* Responsive styles for CTA */
@media (max-width: 991px) {
  .cta-about-inner {
    padding: 50px 30px;
  }

  .cta-content .title {
    font-size: 36px;
  }

  .cta-content .text {
    max-width: 100%;
  }

  .cta-btn-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .cta-area-about {
    padding: 60px 0;
  }

  .cta-about-inner {
    padding: 40px 25px;
  }

  .cta-content .title {
    font-size: 28px;
  }

  .cta-features {
    flex-direction: column;
    gap: 15px;
  }

  .t-btn-big {
    padding: 15px 30px;
    font-size: 16px;
  }
}
