/* Services Overlap Component Styles */
.services-overlap-section {
    background: #fff;
    padding: 60px 0;
}
.services-overlap-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.services-overlap-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}
.services-overlap-card-container {
    position: relative;
    height: 400px;
    width: 100%;
}
.services-overlap-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    z-index: 1;
}
.services-overlap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.services-overlap-card {
    position: absolute;
    top: 150px;
    left: 20px;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 2;
}
.services-overlap-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.services-overlap-icon-container {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.services-overlap-icon-container i {
    font-size: 1.5rem;
    color: white;
}
.services-overlap-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}
.services-overlap-card-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}
.services-overlap-btn {
    color: var(--color-button);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    cursor: pointer;
}
.services-overlap-btn a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.services-overlap-btn a:hover {
    color: var(--color-button);
    text-decoration: none;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.services-overlap-btn a:hover .services-overlap-btn-arrow {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.services-overlap-btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    margin-left: 6px;
}
@media (max-width: 767px) {
    .services-overlap-section {
        padding: 40px 0;
    }
    .services-overlap-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .services-overlap-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    .services-overlap-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    .services-overlap-icon-container i {
        font-size: 1.3rem;
    }
    .services-overlap-card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .services-overlap-card-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}
