/* #Start Hero  */
.services-hero {
  position: relative;
  /* background: url(../images/hero1.jpg); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: right;
  /* filter: contrast(90%); */

}

.services-hero::after {
  content: "";
  background-image: linear-gradient(rgba(10, 16, 44, 0.23), rgba(1, 22, 36, 0.112)), url(../images/hero1.webp);
  background-size: cover;
  background-position: center;
  opacity: 95%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.services-hero .hero-subtitle {
  margin-top: 80px;
  margin-bottom: 80px;
  max-width: 640px;
}

/* #End Hero */

/* #Start Stages */
.stagesWrap {
  width: 100vw;
  max-width: 100vw;
  margin: 10px 0 40px calc((100% - 1640px) / 2 + 20px);
  padding: 0 16px;
  overflow: hidden;
}

.stagesTopBar {
  margin-top: var(--padding-big);
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  padding-right: 2%;
}

.stagesNavContainer {
  display: flex;
  gap: 15px;
}

.stagesNavArrow {
  background-color: transparent;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid #2d7dd2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.stagesNavArrow:hover {
  background-color: rgba(45, 125, 210, 0.05);
}

/* .stagesNavArrow:disabled {
  opacity: 0.4;
  cursor: default;
  border-color: #a9a9a9;
} */

.stagesNavArrow svg {
  width: 28px;
  height: 28px;
}

.stagesNavArrow svg path {
  stroke: #2d7dd2;
  stroke-width: 2.5;
  transition: stroke 0.3s ease;
}

/* .stagesNavArrow:disabled svg path {
  stroke: #a9a9a9;
} */

.stagesViewport {
  width: 100%;
  overflow: hidden;
}

.stagesTrack {
  display: flex;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: max-content;
}

.stagesCard {
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 24, 39, .05);
  height: 326px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  box-sizing: border-box;
}

.stagesCard.stagesHero {
  width: 100%;
  max-width: 525px;
  min-width: 300px;
}

.stagesCard.stagesStage {
  background-color: var(--primary-color);
  width: 80vw;
  max-width: 930px;
}

.stagesHero h4 {
  color: black;
  margin: 4px 0 12px;
  text-transform: uppercase;
}

.stagesHero p {
  margin: 0 0 16px;
  color: #6b7280;
}

.stagesBtn {
  align-self: flex-start;
  background: #fff;
  color: #111827;
  border: none;
  border-radius: 17px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: bold;
}

.stagesStage h2 {
  margin: 2px 0 12px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.stagesList {
  margin: 0;
  padding: 0 0 20px 20px;
  display: grid;
}

.stagesList li {
  list-style: inside;
  color: white;
}

.stagesHeroCard {
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid white;
  padding: 0 0 20px;
}

.stagesHeroCard h1 {
  color: var(--secondary-color);
  line-height: 100%;
  margin-right: 10px;
}

@media (max-width: 1600px) {
  .stagesWrap {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .stagesCard.stagesHero {
    width: 85vw;
  }

  .stagesCard.stagesStage {
    width: 85vw;
  }

  .stagesCard {
    height: auto;
    min-height: 230px;
  }

  .stagesList li {
    font-size: 10px;
  }

  .stagesNavArrow {
    width: 45px;
    height: 45px;
  }
}

/* #End Stages */

/* #Start Results Outcome */

.results-outcome-section {
  color: black;
  background-size: cover;
  margin-top: var(--padding-big);
  margin-bottom: var(--padding-big);
  position: relative;
}

.results-outcome-section::after {
  content: url(../images/bg-s.png);
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  width: 100vw;
  overflow: hidden;
}

.results-outcome-title {
  margin-bottom: 24px;
  text-transform: uppercase;
}

.results-outcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: flex-start;
  padding-bottom: 40px;
}

.results-outcome-card {
  flex: 1 1 30%;
  max-width: 530px;
  transition: all 0.3s ease;
}

.results-outcome-card:hover {
  transform: scale(1.03);
}

.results-outcome-card-head {
  color: var(--secondary-color);
  border-bottom: 1px solid black;
  padding-bottom: 10px;
}

.results-outcome-heading {
  text-transform: uppercase;
  font-size: 25px;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .results-outcome-card {
    max-width: 40%;
  }

  .results-outcome-text {
    font-size: 14px;
  }

  .results-outcome-heading {
    font-size: 14px;
    min-height: 37px;
    /* display: block; */
  }

  .results-outcome-grid {
    gap: 20px;
    justify-content: space-between;
  }
}

/* #End Results Outcome */

/* #Start our services */

.our-services {
  margin-top: var(--padding-big);
  margin-bottom: var(--padding-normal);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* gap: 20px; */
  margin-top: 30px;
}

.service-card {
  width: 32%;
  height: 40vh;
  max-width: 545px;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0);
  transition: all 0.5s ease;
  margin-bottom: 20px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services .card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  /* ADDED: Transition for smooth darkening effect */
  transition: all 0.5s ease;
  justify-content: flex-start;
  padding-bottom: 55px;
  padding-top: 55px;
}

/* ADDED: Darken background on hover */
.service-card:hover .card-content {
  background: rgba(0, 0, 0, 0.6);
  justify-content: space-between;
}

.services .card-content h3 {
  font-weight: 300;
  font-size: 24px;
}

.services .card-content:first-child {
  background-color: #fff;
  color: #000;
}

.services .card-title {
  margin-bottom: 10px;
  text-transform: uppercase;
}

.services .card-description {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.services .card-footer {
  width: 230px;
  height: 50px;
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(../images/rectangle.png);
  background-size: cover;
  color: white;
  /* padding: 10px 0px; */
  font-size: 17px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  justify-content: end;
  align-items: center;
  transition: all 0.3s ease;
  padding-right: 10px;
}

.card-footer:hover {
  transform: translateX(5px);
}

.card-footer::after {
  content: '→';
  margin-left: 8px;
  font-weight: normal;
}

.service-main-card {
  background-color: white;
  color: #000;
}

.services .service-main-card .card-content {
  background: none;
  background-color: #fff;
}

.services .service-main-card .card-footer {
  background: none;
  color: #000;
  left: 0;
}

@media (max-width: 991px){
  .service-card {
    width: 49%;
  }
}

@media (max-width: 615px) {
  .service-card {
    width: 100%;
    height: 320px;
  }

  .card-content {
    padding: 15px;
  }
  
.services .card-content h3 {
    font-size: 20px;
  }
}

/* #End our services */



/* ### service-single-page  */

/* #Start service-showcase */

/* Main container */
.serv-sin-container {
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 100px;
}

/* Content section */
.serv-sin-content {
  padding: 60px 40px;
}

/* Text content grid */
.serv-sin-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 80px;
}

.serv-sin-text-block {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  text-align: justify;
}

/* Statistics section */
.serv-sin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.serv-sin-stat-item {
  text-align: left;
}

.serv-sin-stat-number {
  font-size: 48px;
  color: #ff6b35;
  margin-bottom: 8px;
  display: block;
}

.serv-sin-stat-label {
  font-size: 14px;
  color: #000;
  border-top: 1px solid #000;
  padding-bottom: 8px;
  display: block;
}

/* Image section */
.serv-sin-image-section {
  /* background: linear-gradient(135deg, #6c757d 0%, #495057 100%); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.serv-sin-image-section img {
  max-height: 100%;
  max-height: 635px;
  object-fit: cover;
}

/* Image placeholder */
.serv-sin-placeholder {
  width: 120px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Media queries */
@media screen and (max-width: 1024px) {
  .serv-sin-content {
    padding: 40px 30px;
  }

  .serv-sin-text-grid {
    gap: 40px;
    margin-bottom: 60px;
  }

  .serv-sin-stats {
    gap: 30px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {

  .serv-sin-content {
    padding: 30px 20px;
  }

  .serv-sin-text-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .serv-sin-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  .serv-sin-stat-number {
    font-size: 36px;
  }

  .serv-sin-image-section {
    /* height: 300px; */
  }

  .serv-sin-placeholder {
    width: 100px;
    height: 70px;
  }

  .serv-sin-placeholder::before {
    width: 32px;
    height: 24px;
  }

  .serv-sin-placeholder::after {
    width: 10px;
    height: 10px;
    top: 16px;
    right: 20px;
  }
}

@media screen and (max-width: 480px) {
  .serv-sin-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .serv-sin-stat-number {
    font-size: 32px;
  }

  .serv-sin-text-block {
    font-size: 15px;
  }
}

/* #End service-showcase */

/* #Start single-service-advantages */

.single-service-advantages .results-outcome-card {
  width: 100%;
  max-width: 330px;
}

/* #End single-service-advantages */

/* #Start single service results */

.single-service-results {
  background-color: var(--secondary-color);
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 40px;
}

.single-service-results h2 {
  text-transform: uppercase;
  font-size: 37px;
}

.single-service-results .service-results-list {
  display: flex;
  align-items: center;
}


.single-service-results img {
  width: 8%;
}

.single-service-results ul {
  border-left: #ffffff 5px solid;
  padding: 20px;
}

.single-service-results li {
  list-style: disc;
  margin-left: 10px;
  font-size: 22px;
}

@media (max-width: 768px) {
  .single-service-results img {
    width: 15%;
  }

  .single-service-results ul {
    border-left: #ffffff 1px solid;
  }

  .single-service-results li {
    font-size: 14px;
  }

  .single-service-results h2 {
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .single-service-results li {
    font-size: 14px;
  }

  .single-service-results h2 {
    font-size: 17px;
  }
}

/* #End single service results  */

/* #Start Stages of work */



.stages-of-work {
  /* margin-top: 100px; */
  margin-bottom: 10px;
}

.stages-of-work-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-direction: column;
}

.stages-of-work-title {
  color: #000;
  text-transform: uppercase;
}

.stages-of-work h2 {
  font-weight: 400;
  margin-bottom: 24px;
}

.stages-of-work h4 {
  color: var(--secondary-color);
  font-weight: 400;
  text-transform: uppercase;
}

.stages-of-work .home-news-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
}

.stages-of-work .home-news-card-item {
  background-color: #E9F1F6;
}

.stages-of-work .home-news-card-item p {
  color: var(--primary-color);
}

.stages-of-work p:last-child {
  justify-self: end;
  margin-top: 30px;
}



/* #End Stages of work */