/* General Body & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f9;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation Bar */
nav {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #007bff;
}
nav a.cta-btn {
    background: #007bff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
nav a.cta-btn:hover {
    background: #0056b3;
}
nav div:first-child {
    font-weight: bold;
    font-size: 1.4rem;
    color: #003366;
}

/* Section Styling (General) */
.section {
    max-width: 1140px;
    margin: auto;
    padding: 60px 20px;
}
.section h1,
.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #003366;
    position: relative;
}
.section h1::after,
.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #fca311;
    border-radius: 2px;
}

/* Content Block & Main CTA */
.content-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}
.content-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.cta-btn-main {
    display: inline-block;
    background: #fca311;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-btn-main:hover {
    background: #e09400;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: .9rem;
}
footer a {
    color: #fca311;
    text-decoration: underline;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #ffd780;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}
.whatsapp-float img {
    width: 60%;
    height: 60%;
    filter: invert(1);
}

/* Responsive Adjustments */
@media(max-width:768px) {
    .section h1,
    .section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    nav div:first-child {
        margin-bottom: 10px;
    }
    nav div:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a {
        margin: 0.5rem;
    }
    .section {
        padding: 40px 15px;
    }
    .intro-banner {
        padding: 60px 15px;
    }
    .intro-banner h1 {
        font-size: 2.2rem;
    }
    .intro-banner p {
        font-size: 1rem;
    }
    .detail-box,
    .step-item {
        flex: 1 1 100%; /* Stack on small screens */
    }
}

/* NEW/ENHANCED STYLES FOR SERVICE PAGES */
.intro-banner {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), var(--banner-bg-image) no-repeat center center/cover;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.intro-banner h1 {
    color: #fff;
    margin-bottom: 20px;
}
.intro-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}
.service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}
.detail-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    flex: 1 1 45%; /* Allows two boxes per row on larger screens */
    min-width: 300px;
}
.detail-box h3 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #fca311;
    padding-bottom: 10px;
}
.detail-box ul {
    list-style: none;
    padding-left: 0;
}
.detail-box ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.05rem;
}
.detail-box ul li::before {
    content: '✓'; /* Checkmark icon */
    color: #25d366;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    text-align: center;
}
.step-item {
    background: #e0f2f7;
    padding: 25px;
    border-radius: 8px;
    flex: 1 1 28%; /* Roughly 3 per row */
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.step-item h4 {
    color: #003366;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.testimonials-section {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}
.testimonial-card {
    background: #f4f6f9;
    padding: 30px;
    border-radius: 8px;
    max-width: 700px;
    margin: 30px auto;
    font-style: italic;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.testimonial-card::before {
    content: '“';
    font-size: 4rem;
    color: #fca311;
    position: absolute;
    top: 5px;
    left: 20px;
    opacity: 0.5;
}
.testimonial-card p {
    margin-bottom: 15px;
}
.testimonial-card span {
    display: block;
    font-weight: bold;
    color: #003366;
    margin-top: 10px;
}
.contact-form-section {
    background: #e0f2f7; /* Light blue background for form */
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
}
.contact-form-section h2 {
    margin-bottom: 30px;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.contact-form label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: 500;
    color: #003366;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form button {
    background: #007bff;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.contact-form button:hover {
    background: #0056b3;
    transform: scale(1.03);
}

/* Variable for banner background images */
:root {
    --banner-bg-image: url('https://via.placeholder.com/1920x400/003366/FFFFFF?text=Legal+Service+Banner'); /* Default placeholder */
}
/* Specific overrides for each page will be set in the HTML via inline style on body */