/* Main section styling */
.service-sectior-section-1 {
    padding: 80px 0;
    position: relative;
    background-color: #f4f4f4;
}

/* Parent container for the background and cards */
.parent-container-section-1 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    overflow: hidden;
    /* Ensures background doesn't overflow outside */
}

/* Background image */
.bg-image-section-1 {
    position: absolute;
    top: 0;
    left: 90%;
    transform: translateX(-50%);
    width: 120%;
    height: auto;
    z-index: 1;
    /* Slight transparency for better visibility of cards */
}

/* Cards container using Flexbox */
.cards-container-section-1 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
    /* Ensures cards are on top of the background */
}

/* Individual card styling */
.card-section-1 {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 30%;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover-section-1 {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Icon inside card */
.icon-section-1 {
    margin-bottom: 20px;
}

.icon-section-1 img {
    width: 50px;
    height: 50px;
}

.icon img {
    width: 50px;
    height: 50px;
}

/* Card text styling */
.card-section-1 h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.card-section-1 p {
    font-size: 1rem;
    color: #666;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .cards-container-section-1 {
        flex-direction: column;
    }

    .card-section-1 {
        width: 100%;
        margin-bottom: 20px;
    }
}