/* Services Section */
#services{
    position: relative;
    background: url('../../images/marketcover.png') no-repeat center center/cover;
}

/*  */
.services-cover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
    z-index: 1;
}
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 5em;
    padding-top: 0;
    color:white;
}
.services-title {
    position: relative;
    color:white;
    display: grid;
    padding: 1em;
    text-align: center;
    background-color:  transparent;
    padding-bottom: 0.7em;
    font-family: 'Open Sans', sans-serif;
    z-index: 2;
}
.service {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    /* background-color: rgba(255, 255, 255, 0.119); */
}

.service h2 {
    margin-bottom: 1em;
}

.service p {
    font-size: 1rem;
    color: white
}

@media (max-width: 768px) {
    #visionMision {
        padding: 3em; /* Adjust padding for smaller screens */
    }
    .services-title{
        font-size: 1.5em; /* Decrease font size for the title */
    }
    .services {
        padding: 2em; /* Reduce padding in services */
        grid-template-columns: 1fr; /* Stack services in a single column */
    }
}

@media (max-width: 480px) {
    .services .service {
        grid-template-columns: 1fr;
        padding: 1em;
    }
    
   .services  h1{
        font-size: 16px;
        padding: 0;
    }
    
    .services .service p, h3{
        font-size: 12px;
        text-align: left;
    }
}