/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}
/* Main Container */
#practice-area-page {
    max-width: 1100px;
    margin: 5% auto 60px auto; /* 5% top margin, auto left/right, 60px bottom */
    padding: 100px 20px 20px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header Section */
.practice-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 3px solid #37474F;
}

.practice-header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #1e3a5f;
}

/* Intro Section */
.practice-intro {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
    color: #444;
}


/* Image & Text Section */
#practice-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin: 40px 0;
}

/* Image Container */
.practice-image-container {
    flex: 1;
    max-width: 45%;
	border-radius: 10px;
}

.practice-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Text Container */
.practice-text-container {
    flex: 1;
    max-width: 55%;
    font-size: 18px;
}

/* Section Headers */
.practice-text-container h2,
.legal-process h2,
.faq-section h2 {
    color: #37474F;
    font-size: 22px;
    margin-bottom: 10px;
}

/* Ensure bullet points are properly indented */
.practice-text-container ul {
    padding-left: 50px;  /* Moves the bullet points slightly inward */
    margin-left: 0;      /* Ensures alignment with the rest of the text */
}

/* Ensure list items align properly */
.practice-text-container li {
    list-style-position: outside; /* Keeps the bullet outside for proper indentation */
    padding-left: 5px;            /* Ensures text aligns neatly after the bullet */
}

/* Process & FAQ Sections */
.legal-process, .faq-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.legal-process ol,
.faq-section ul {
    margin-left: 20px;
}

.legal-process li,
.faq-section li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Footer Styling */
footer {
    background: #37474F;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
    #practice-content {
        flex-direction: column;
        align-items: center;
    }

    .practice-image-container,
    .practice-text-container {
        max-width: 100%;
    }

    .practice-text-container {
        text-align: left;
    }
}

.practice-intro {
    position: relative;
    width: 100%;
    height: 400px; /* Increase the height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Adjust the Blurred Background Image */
.practice-intro img {
	border-radius: 5px;
    width: 110%; /* Slightly larger than container to prevent shifting */
    height: 100%;
    object-fit: cover;
    filter: blur(1px); /* Subtle blur effect */
    opacity: 0.9; /* Slight transparency */
}

.practice-intro img:not([src]), .practice-intro img[src=""] {
    display: none; /* Hide the image if src is empty */
}

.practice-intro:has(img:not([src])), .practice-intro:has(img[src=""]) {
    display: none; /* Hide the whole header if the image is missing */
}
