:root {
  --dark: #0f172a;
  --primary: #e7445d;
  --white: #ffffff;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes underlineProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

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

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 55vh;
  background: url("../img/CloudDevOpsbanner.png") center/cover no-repeat;
  padding: 80px 0;
  /* text-align: center; */
}

.hero-content {
  max-width: 1200px;
  padding: 0 20px;
  margin: auto;
}

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

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.2;
}

/* ---------------- 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, floatImage 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/****** 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;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #fac5cc;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  padding-left: 23%;
}

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

.timeline-content {
  padding-left: 40px;
}

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

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

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

.qa-expertise-icon {
  font-size: 42px;
  font-weight: 700;
  color: #fac5cc;
  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;
}

/* ---------------- 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%;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #fac5cc;
  }
  .timeline-item {
    position: relative;
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding-left: 6%;
  }
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
    left: 10px;
  }
  .timeline-content h4 {
    font-size: 1.05rem;
  }

  /* approach */
  .qa-expertise-title {
    font-size: 28px;
  }
}

@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-item {
    gap: 12px;
    margin-bottom: 40px;
  }

  .timeline-icon {
    width: 45px;
    height: 45px;
    font-size: 16px;
    left: 35px;
  }

  .timeline::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 90%;
    background: #fac5cc;
  }

  .timeline-item {
    position: relative;
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding-left: 23%;
  }

  .timeline-content {
    padding-left: 76px;
  }

  .timeline-item {
    padding-left: 0;
  }

  .timeline-content h4 {
    font-size: 1rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}