/* ✅ Parent Section with Background Image */
#image-section {
    background: url("https://allimgb.ams3.cdn.digitaloceanspaces.com/lawfirm/Beta1.webp") no-repeat center center;
    background-size: cover; /* ✅ Ensures full coverage */
    padding: 40px 0;
}

/* ✅ Individual Content Blocks */
.content-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9); /* ✅ Slight transparency for readability */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    min-height: 150px;
    margin: 20px auto; /* ✅ Centers each block */
}

/* ✅ Ensure Text Stays Within a Fixed Size */
.text-box {
    flex: 1;
    max-width: 500px;
    word-wrap: break-word;
}

/* ✅ Left Side - Image with 3D Hover */
.image-box {
    perspective: 1000px;
}

.hover-image {
    width: 120px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-image:hover {
    transform: rotateY(10deg) rotateX(10deg) scale(1.05);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

/* ✅ Responsive Design */
@media (max-width: 600px) {
    .content-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hover-image {
        width: 100px;
    }
}

