/* services section coding */

#services .container{
    width:100%;
    height:100%;
    margin-top: 100px;
}

.containers {
    background-color: #ffffff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50; 
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3498db; 
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 50px;
}

.step {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease-in-out;
}

.step:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.step-icon {
    background-color: #3498db; 
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.step-icon.one::before { content: '1'; }
.step-icon.two::before { content: '2'; }
.step-icon.three::before { content: '3'; }
.step-icon.four::before { content: '4'; }

.step-details h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-details p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Responsive adjustments for smaller screens */
@/media (max-width: 768px) {
    .container {
        padding: 40px;
    }

    .title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .process-steps {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .step {
        align-items: center;
        text-align: center;
    }

    .step-icon {
        margin-bottom: 15px;
    }
}

.image-container {
    position: relative;
    display: inline-block;
    text-align: center;
    width:100%;
    height:100%;
  }

  .image-container img {
    display: block;
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    background-size: cover;
    border-radius: 16px;
    filter: grayscale(80%); 
  filter: brightness(0.5); 
    background-position: center;
}

  .overlay-text {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.6rem;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 10px 20px;
    border-radius: 16px;
  }

  #services .container .image-container .overlay-text h2{
    color: #ffffff;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    font-size: 2.6rem;
  }

  #services .container .image-container .overlay-text  p{
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-weight: 500;
    font-size: 1.2rem;
}

@/media screen and (max-width: 768px) {
    #services .container .image-containe .overlay-text h2 {
        font-size: 2rem;
    }
    #services .container .image-container .overlay-text p {
        font-size: 1rem;
    }
    #services .container .image-container .overlay-text{
        padding: 10px;

    }


}