:root {
  --primary: #e7445d;
  --blue: #0d4070;
  --white: #fff;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes underlineProgress {
  to {
    width: 100%;
  }
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 55vh;
  background: url("../img/DatagrowthBanner.png") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  padding: 0 20px;
  margin: auto;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  max-width: 700px;
}

.hero-content .line {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 25px;
  margin-left: auto;
  margin-right: auto;
}

.hero .line {
  width: 90px;
  height: 4px;
  background: var(--primary);
  margin: 30px 0;
}

/* ---------------- CONTENT HEADER ---------------- */
.section-header {
  animation: fadeInUp 0.8s 0.5s forwards;
  justify-content: center;
  align-content: center;
}

.section-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.8s 0.3s forwards;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  background: linear-gradient(
    90deg,
    rgba(13, 64, 112, 0.76) 27%,
    rgba(144, 18, 37, 0.76) 71%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.5s forwards;
}

.section-title p {
  margin-top: 25px;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.5s forwards;
  font-size: 15px;
}

.title-underline {
  width: 200px;
  height: 3px;
  background: #ffe1e5;
  position: relative;
  overflow: hidden;
}

.underline-progress {
  position: absolute;
  height: 100%;
  width: 0%;
  background-color: var(--primary);
  animation: underlineProgress 1.5s 1s forwards;
}

.image-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.intro_img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.5s forwards;
}

/****** why choose ******/
.why-subtext {
  font-size: 15px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.5s forwards;
}

.why-box {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 10px 5px;
  transition: 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.5s forwards;
}

.why-icon {
  min-width: 50px;
  height: 50px;
  background-color: #ffe1e5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: var(--primary);
}

.why-box h5 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.why-box p {
  margin: 0;
  font-size: 15px;
}

/****** future ******/
.future-heading span,
.section-title h2 span {
  background: linear-gradient(90deg, #0e46a3, #d61c4e);
  color: transparent;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 50px;
  border-left: 2px solid #ffe1e5;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 50px;
}

.timeline-icon {
  width: 55px;
  height: 55px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 20px;
  position: absolute;
  left: -79px;
  top: 0;
  z-index: 2;
}

.timeline-content h4 {
  margin: 0 0 5px;
  font-size: 1.15rem;
  font-weight: 700;
}

.timeline-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/****** QA section ******/
.qa-expertise-item {
  max-width: 340px;
  margin: 0 auto;
}

.qa-expertise-icon {
  font-size: 42px;
  font-weight: 700;
  color: #f7c5cc;
  margin-bottom: 25px;
}

.qa-expertise-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.4;
}

.qa-expertise-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

@media (max-width: 768px) {
  .qa-expertise-title {
    font-size: 28px;
  }
}

/* ---------------- RESPONSIVE FIXES ---------------- */
@media (max-width: 992px) {
  .hero-content .line {
    /* margin-left: auto; */
    margin-right: auto;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .image-wrapper {
    max-width: 70%;
  }
  .why-heading {
    font-size: 1.9rem;
  }
  .why-icon {
    width: 45px;
    height: 45px;
  }

  /* future */
  .timeline {
    max-width: 95%;
    padding-left: 45px;
  }
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
    left: -71px;
  }
  .timeline-content h4 {
    font-size: 1.05rem;
  }
}

@media (max-width: 576px) {
  .section-header {
    text-align: center;
  }
  .title-underline {
    margin-left: auto;
    margin-right: auto;
    width: 150px;
  }
  .content_section {
    padding-left: 25px !important;
    padding-right: 25px !important;
  }
  .image-wrapper {
    max-width: 100%;
  }

  /* future */
  .timeline {
    border-left: 2px solid #ffe1e5;
    padding-left: 40px;
  }
  .timeline-item {
    gap: 12px;
    margin-bottom: 40px;
  }
  .timeline-icon {
    width: 45px;
    height: 45px;
    font-size: 16px;
    left: -64px;
  }
  .timeline-content h4 {
    font-size: 1rem;
  }
  .timeline-content p {
    font-size: 0.9rem;
  }
}
