
.services{
    background: linear-gradient(to bottom right, #f3ecff, #dfe7fd);
    padding:60px 0px; 
}

.ourServicesSection{
    background: linear-gradient(to bottom right, #e6f2f7, #fafcfd);
    padding:60px 0px;
}
.servicesDiv {
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to left, rgba(243, 246, 255, 0.50), rgba(250, 248, 236, 0.85)),
    url(../../images/servicesbg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 40px;
    min-height: auto;
    max-height: none;
    margin-bottom: 50px;
}

.servicesdetails {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.servicesdetails > h2 {
    font-size: 2.5rem;
    padding: 10px 15px;
    border-radius: 5px;
    color: #1351d8;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.servicedetailspara {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.serviceItemsGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.serviceItem {
    flex: 1 1 calc(33.333% - 30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 30px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serviceItem img {
    max-width: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.serviceItem h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.serviceItem p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.serviceItem:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.serviceItem:hover img {
    transform: scale(1.1);
}

.servicesdetails > a > button {
    background: #48B1FB;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    padding: 15px 30px;
    border: none;
    font-size: 1.3rem;
    min-height: 50px;
    min-width: 200px;
    margin-top: 40px;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

@media screen and (max-width: 980px) {
    .servicesDiv {
        padding: 30px;
    }

    .servicesdetails > h2 {
        font-size: 2.2rem;
    }

    .serviceItem {
        flex: 1 1 calc(50% - 30px);
        padding: 20px;
    }

    .serviceItem img {
        max-width: 60px;
    }

    .servicesdetails > a > button {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .servicesDiv {
        padding: 20px;
    }

    .servicesdetails > h2 {
        font-size: 1.8rem;
    }

    .serviceItem {
        flex: 1 1 100%;
        padding: 15px;
    }

    .serviceItem img {
        max-width: 50px;
    }

    .servicesdetails > a > button {
        font-size: 1rem;
    }
}
