

/* ==== Heading ==== */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  color: #cdd9f5;
  margin-bottom: 60px;
  font-weight: 600;
}

.section-title span {
  color: #fff;
}

/* ==== Grid Layout ==== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

/* Center the 3rd item on its own row */
.service-grid .service-card:nth-child(3) {
  grid-column: 1 / -1; /* spans both columns */
  justify-self: center;
  width: 100%; /* optional, controls width of middle card */
}

.service-card {

    position: relative;
    background: linear-gradient(180deg, rgba(0, 106, 254, 0.1) 0%, rgba(0, 63, 152, 0.049) 100%);
    border-radius: 12px;
    padding: 30px 20px;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(180deg, rgba(0, 105, 254, 0.20) 0%, rgba(0, 63, 152, 0.20) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* ==== Card Text ==== */
.service-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.service-card h3 span {
  color: #4FBFF7;
  font-weight: 700;
}

.service-card p {
  color: #b9c4d9;
  font-size: 14px;
  line-height: 1.4;
}

/* ==== Buttons/Links ==== */
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-direction: column;
  margin-top: 20px;
}

.grid-service-link{
display: grid;
grid-template-columns: 1fr 1fr;
}
.service-links a {
  display: inline-block;
  padding: 18px 28px;
  font-size: 14;
  font-weight: 700;
  color: #4FBFF7;
  background: linear-gradient(145deg, #1a1f35, #12172b); /* inner background */
  border-radius: 14px;
  position: relative;
  text-decoration: none;
  text-align: left;
  transition: all 0.3s ease;
}


.service-links a::before {
    content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px; /* border thickness */
  background: linear-gradient(360deg, #3a7afe, #7ec7ff39);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.service-links a:hover {
  background: rgba(58, 122, 254, 0.3);
  color: #fff;
  border-color: #3a7afe;
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
.service-card {
    padding: 25px;
}

}

/*ai*/
.ai-services {
 
  color: #fff;

  .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.ai-image {
   width: 500px;        
  overflow: hidden;  
  border-radius: 12px;
}



.ai-content {
  flex: 1;
  min-width: 320px;
}

.ai-content .section-heading{
 text-align: left;
}
.section-subtext{
  text-align: left;
}


.ai-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}
}

@media screen and (max-width: 1000px) {
    
    .ai-services {
 

  .container {
    flex-direction: column-reverse;
    padding: 40px 0px;
    .ai-image{
      border-radius: 0;
       display: flex;
       align-items: center;
       justify-content: center;
      width: 100%;
     
    }
  }


}
}


/* our processs  */

.our-process {
  padding-bottom: 60px;
 

}

.our-process h2 {
margin-bottom: 50px;
}



.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  text-align: center;
  background-image: url("../images/common-bg/line-desktop.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.step {
  width: 100%;
  max-width: 455px;
  padding: 20px;
  padding-bottom: 10px;
  border-radius: 10px;
  text-align: left;
  height: 130px;
  background-color: transparent;
  transition: all 0.6s ease-out;
  transform: translateY(0);
  opacity: 1;
}

.step h3 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: Montserrat;
  margin-top: 0;
 

}

.step p {
  font-size: 14px;
  color: white;
  font-weight: 500;
  font-family: Montserrat;
  line-height: normal;
}

.left {
  align-self: flex-start;
}

.right {
  align-self: flex-end;
}

.stepOne{
  margin-top: 10px;
  h3{
    text-align: right;
  }
  p{
    text-align: right;
  }

}
.stepTwo{
  margin-top: 10px;
  
}
.stepThree{
  margin-top: 10px;
    h3{
    text-align: right;
    margin-top: 10px;
  }
  p{
    text-align: right;
  }
  
}
.stepFour{
  margin-top: 30px;
  
}
.stepFive{
  margin-top: 0px;
    h3{
    text-align: right;
    margin-top: 20px;
  }
  p{
    text-align: right;
  }

}


 .btn-wrapper{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
 }
/* Responsive adjustments */
@media (max-width: 1000px) {


  .step {
    max-width: 35%;
  }
 .our-process h2  {
    font-size: 28px;
            font-weight: 600;
            line-height: 32px;
  }
  .our-process .subheading{
    font-size: 14px;
    margin-bottom: 0;
  }
      .our-process {
        padding: 0px 20px;
     

 
}
.step h3 {
font-size: 18px;
}
.step P{
    font-size: 12px;
}
.timeline {
  gap: 0;
}
  .step {
  padding: 20px 5px;
}
  

}

@media (max-width: 768px) {
    .app-developement-hero .hero-content {
        height: 75%;
        left: 50%;
        top: 55%;
        width: 90%;
    }

    .service-grid {
            grid-template-columns:1fr;
    }
    .grid-service-link {
    grid-template-columns: 1fr;
}
.btn-wrapper{
   flex-direction: column-reverse;
    
 }
 .cta-section {
    background-image: url(../images/common-bg/cta-mobile-bg.png);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 20px;
    text-align: center;
}
}