.hero {
  background: url("../images/services_header.jpg") center/cover no-repeat;
}

.hero-strip-inner {
    padding: 28px 48px;
}


.capabilities {
  /* padding: 100px 0; */
  /* padding: 50px 0; */
  padding: 50px 0px;
  background: #fff;
  /* max-width: 1200px; */
}

/* .capabilities .container {
  max-width: 1200px;
  margin: auto;
} */

/* .section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
} */


.capabilites  h2 {
    /* font-size: 50px; */
}

.section-subtitle {
  /* color: #555; */
  color: black;
  max-width: 600px;
  margin-bottom: 50px;
}

/* GRID */
.capabilities-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); */
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  place-items: center;
}

/* CARD */
.cap-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  height: 321px;
  width: 491px;
  /* background-color: #fff; */

}

.cap-card img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* overlay */
.cap-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1)); */
}

/* content */
.cap-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  position: absolute;
  bottom: 5px;
  color: #fff;
  z-index: 2;
  background-color: hsla(0 10% 20% / .12);
  backdrop-filter: blur(.35rem);
}

.cap-content h4 {
  /* font-size: 20px; */
  font-size: 15px;
  /* color: red; */
  /* margin-bottom: 6px; */
  padding: 10px 0 0 10px;
  font-weight: 600;
}

.cap-content p {
  font-size: 14px;
  opacity: 0.9;
  padding-top: 10px;
  /* padding: 10px 10px 0 0; */
}

/* icon badge */
.cap-icon {
  /* position: absolute;
  top: -18px;
  left: 20px;
  width: 46px;
  height: 46px;
  background: #111;
  color: #f5b000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 3;
  border: 3px solid #fff; */
}

/* hover */
.cap-card:hover img {
  /* transform: scale(1.08); */
}


.service-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 4rem;
}



.section h4 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 1.75rem;
}

.cards {
    /* gap: 0px; */
    grid-template-columns: repeat(3, 350px);
    place-items: center;
}

/* .card img {
    height: 4px;
    width: 69px;
} */

.card {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    /* height: 300px;
    width: 350px; */
    padding: 20px 16px;
    /* border-radius: 1rem; */
}

.card p {
    color: #fff;
    /* text-align: center; */
}


/*================= our process section =================*/
.process {
  /* padding: 80px 20px; */
  padding: 0 20px;
  /* padding: 30px; */
  background-color: #f8fff4; /* Light mint background */
  font-family: 'Inter', sans-serif;
}

/* .container {
  max-width: 1100px;
  margin: 0 auto;
} */

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.badge {
  font-size: 14px;
  font-weight: bold;
  border: 1px solid #ccc;
  /* padding: 4px 12px; */
  padding: 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.timeline-container {
  position: relative;
}

/* Vertical Line */
.central-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  /* background-color: #1a4d3a; */
  background-color: var(--gold);
  transform: translateX(-50%);
}

.step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 100px; */
  margin-bottom: 50px;
  position: relative;
  min-height: 300px; /* Ensures a consistent height for every step */
}

/* Reverse Step 2 */
.step-row.reverse {
  flex-direction: row-reverse;
}

.step-content {
  box-shadow: 1px 5px 9px rgba(0,0,0,0.1);
  padding: 20px 35px;
  border-radius: 12px;
  /* width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: center; */
}

.step-content p {
  color: grey;
  font-weight: normal;
  font-size: 1rem;
}

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

.step-dot {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  /* background-color: #1a4d3a; */
  background-color: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.step-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* Image styling to match the screenshot */
.step-image img {
  /* width: 100%; */
  /* border-radius: 12px; */
  height: 80px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  /* background-color: #c4e8b8;  */
  /* background-color: blue; */
  background-image: linear-gradient(160deg, #0D47A1, #00B5D2);
  background-size: 120%;
  padding: 15px 17px;
}




/* ================= RESPONSIVE ================= */
@media (max-width: 1160px) {
    .capabilites {
        padding: 50px 40px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .cap-card {
        height: 261px;
        width: 361px;
    }

    .section-subtitle {
        font-size: 1.45rem;
    }
}

@media (max-width: 900px) {
    .capabilites {
        /* padding: 40px 30px; */
    }

    .cap-card {
        width: 321px;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }



    .timeline {
      display: none;
    }


    .service-cta button{
      display: block;
      /* width: 100%; */
      padding: .75rem 1.5rem;
    }
}


@media (max-width: 768px) {
    .capabilites {
        /* max-width: 800px; */
    }

    .capabilites h2{
        /* text-align: center; */
        margin-left: 1rem;
    }

    .capabilities-grid {
        /* grid-template-columns: repeat(2, 1fr); */
        display: flex;
        flex-direction: column;
    }
    
    .cap-card {
        height: 300px;
        width: 480px;
        border-radius: 14px;
    }

    .central-line, 
    .step-dot { 
      display: none; 
    }

    .step-row, 
    .step-row.reverse {
       flex-direction: column; 
       text-align: center; 

    }

    .step-content { 
      width: 100%;
      margin-bottom: 10px; 
    }

    .step-image {
      display: none;
    }
}


@media (max-width: 480px) {

  .capabilites.intro {
    /* text-align: center; */
  }

  .section-subtitle {
    text-align: center;
  }

    .cap-card {
        height: 200px;
        width: 360px;
        border-radius: 14px;
    }

    .subtitle {
      text-align: center;
    }

    .process {
      padding-bottom: 0;
    }

    .process .section {
      padding-bottom: 10px;
    }

    .process h2{
      text-align: center;
    }
}