/* Services section */
.services-grid {
    display: flex;
    flex-direction: column;
    margin-top: 32px;
    position: absoulute;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 40px;
}

.service-card {
    border-radius: 28px;
    position: relative;
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.small-card {
    background: linear-gradient(145deg, #f58220 0%, #ee6c12 100%);
    color: var(--white);
    width: 50%;
    max-width: 440px;
    align-self: flex-end;
    z-index: 3;
    min-height: 240px;
    overflow: hidden;
    padding: 36px 36px 36px 32px;
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.small-card .card-content-small {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
    padding-right: 100px;
}
.small-card h3 {
    color: #000;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: left;
    line-height: 1.2;
}
.small-card p {
    color: rgba(255, 255, 255, 0.93);
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.6;
}
.vinyl-image {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: -12px 8px 28px rgba(0,0,0,0.25);
    z-index: 4;
}

.large-card {
    background: #ffffff;
    border: 1.5px solid var(--primary-blue);
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 80%;
    align-self: flex-start;
    margin-top: -30px;
    z-index: 1;
    min-height: 370px;
    overflow: visible;
    padding: 0;
}
.large-card .card-content {
    flex: 2;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 36px 28px 36px 36px;
    justify-content: center;
    left: -10;
}
.large-card h3 {
    color: var(--primary-orange);
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 3.5vw, 30rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
    width: 100%;
}
.large-card .card-content p {
    color: var(--primary-blue);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}
.card-image-container {
    flex: 0 0 46%;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 0 28px 28px 0;
    overflow: visible;
}
.service-image {
    position: absolute;
    bottom: -20px;
    right: -55px;
    height: 115%;
    width: auto;
    object-fit: contain;
    z-index: 2;
}

@media (max-width: 992px) {
    .services-grid {
        gap: 24px;
        padding-bottom: 0;
    }
    .large-card, .small-card {
        width: 100%;
        max-width: 100%;
        align-self: center;
        margin-top: 0;
    }
    .small-card {
        padding: 32px 32px 32px 32px;
    }
    .small-card .card-content-small {
        padding-right: 110px;
    }
    .vinyl-image {
        right: -40px;
        width: 160px;
        height: 160px;
    }
    .large-card {
        flex-direction: column;
        min-height: auto;
        padding: 0;
    }
    .large-card .card-content {
        padding: 32px;
        align-items: flex-start;
        text-align: left;
    }
    .card-image-container {
        flex: none;
        width: 100%;
        min-height: 300px;
        border-radius: 0 0 28px 28px;
        overflow: hidden;
    }
    .service-image {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: auto;
        max-height: 340px;
        object-fit: cover;
        object-position: top center;
    }
}

@media (max-width: 768px) {
    .small-card .card-content-small {
        padding-right: 0;
    }
    .vinyl-image {
        display: none;
    }
}
