/* CSS Variables for Color Schemes */
:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #e67e22;
    --color-accent-hover: #d35400;
    --color-text: #4A4A4A;
    --color-text-light: #7f8c8d;
    --color-heading: #2c3e50;
    --color-background: #f9f9f9;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --color-shadow: rgba(0,0,0,0.1);
    --color-hero-overlay: rgba(44, 62, 80, 0.65);
    --color-link: #3498db;
    --color-link-hover: #2980b9;
    --color-footer-bg: #2c3e50;
    --color-footer-text: #ffffff;
}

/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-heading);
    font-weight: 600; /* Default weight for headings */
}

h1 { font-size: 2.8em; margin-bottom: 0.5em; font-weight: 700; letter-spacing: 0.5px; }
h2 {
    font-size: 2.2em;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 15px; /* Space for underline */
    margin-bottom: 1.5em; /* Adjusted margin */
    position: relative; /* For pseudo-element */
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100px; /* USER FEEDBACK: Increased width from 60px to 100px */
    height: 3px;
    background-color: var(--color-accent);
}
h3 { font-size: 1.6em; margin-bottom: 0.5em; font-weight: 600; }

a {
    text-decoration: none;
    color: var(--color-link);
}

a:hover {
    color: var(--color-link-hover);
}

img.logo {
    max-height: 85px; /* Increased further for better visibility */
    width: auto;
    vertical-align: middle; 
}

/* Main Navigation - Centered with Contact Button */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 40px;
    position: relative;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    margin: 0;
    min-height: 100px;
    box-sizing: border-box;
    width: 100%;
}

.main-nav .logo-container {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Ensure logo stays above other elements */
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.main-nav .nav-links li {
    margin: 0 15px; /* Even spacing between nav items */
}

.main-nav .nav-links a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-nav .nav-links a:hover {
    color: var(--color-accent);
    background-color: rgba(230, 126, 34, 0.1);
}



/* Banner CTA Button */
.banner-cta-button {
    position: absolute;
    right: 40px;
    bottom: 20px;
    background-color: var(--color-accent);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.banner-cta-button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: transform .25s ease-out;
}

.main-nav .nav-links a.active::after,
.main-nav .nav-links a:hover::after {
    transform: scaleX(1);
}

/* Language Switcher Removed - No translation functionality until further notice */

/* Hero Section - CORRECTED */
.hero-section {
    width: 100%;
    height: 400px; /* Fixed consistent height */
    background-color: var(--color-primary); /* Fallback color */
    background-image: url('images/banner1.png');
    background-position: center;
    background-size: contain; /* Ensures full image is visible */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 40px;
}

.hero-overlay {
    /* COMPLETELY REMOVED: Hero overlay disabled per user request */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--color-hero-overlay);
    z-index: 1;
}

.hero-content {
    color: #fff;
    text-align: center;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-content h1, .hero-content p {
    color: #fff;
    text-shadow: 0 4px 24px rgba(44,62,80,0.7);
}

.hero-content h1 {
    font-size: 3.5em; /* Larger for impact */
    margin-bottom: 0.4em;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25em; /* Readable subtitle */
    margin-bottom: 1.5em;
    font-weight: 400;
}

.cta-button {
    background-color: var(--color-accent);
    color: #fff;
    padding: 15px 35px; /* Generous padding */
    text-decoration: none;
    border-radius: 30px; /* Fully rounded */
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
    display: inline-block; /* Allows margin and padding */
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* Below Hero CTA Section */
.below-hero-cta-section {
    text-align: center;
    padding: 30px 0 50px; /* More padding */
    background-color: #f0f2f5; /* Subtle background color */
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Distribute items evenly */
    gap: 25px; /* Space between items */
    padding: 40px 0;
}

.service-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px; /* More rounded corners */
    padding: 30px;
    width: calc(33.333% - 30px); /* Adjust for 3 items per row with gap */
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.service-item img.service-icon {
    max-width: 60px; /* Control icon size */
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
}

/* Page Content Area */
.page-content {
    padding: 20px 0;
    background-color: #f9f9f9; /* Consistent background */
}

/* General Content Card Styling (e.g., for About, Contact text blocks) */
.page-content .content-card {
    background-color: #fff;
    padding: 30px 35px; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Softer, more modern shadow */
    margin-left: auto; /* Center the card */
    margin-right: auto; /* Center the card */
    margin-bottom: 30px;
    max-width: 850px; /* Make card wide but not full-width */
    text-align: left; /* Default text alignment for content within cards */
}

.page-content .content-card h2 {
    text-align: center; /* Center h2 within cards */
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1.2em; /* Space below h2 */
    padding-top: 0; /* Override general h2 padding-top */
}

.page-content .content-card p {
    text-align: left; /* Ensure paragraphs are left-aligned */
    margin-bottom: 1em;
    line-height: 1.7;
}

.page-content .content-card ul {
    list-style: disc; /* Standard disc bullets */
    margin-left: 20px; /* Indent list */
    padding-left: 5px; /* Padding for bullets */
    text-align: left; /* Ensure list items are left-aligned */
}

.page-content .content-card ul li {
    text-align: left; /* Ensure list items are left-aligned */
    margin-bottom: 0.6em;
    line-height: 1.6;
}

/* Contact Page Specific Styles */
.contact-page-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px; /* Align with .container or use .container's padding */
    display: flex; /* Enable side-by-side layout */
    gap: 30px; /* Space between form and info */
    align-items: flex-start; /* Align items to the top */
}

.contact-form-section, .contact-info-section {
    flex: 1; /* Each section takes equal space */
    min-width: 300px; /* Minimum width before wrapping */
}

/* Apply content-card styling to contact form and info containers */
.contact-form-container.content-card,
.contact-info-container.content-card {
    background-color: #ffffff;
    padding: 30px 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 0; /* Remove bottom margin as .contact-page-container handles spacing */
}

.contact-form-container h2, .contact-info-container h2 {
    text-align: left; /* Left-align h2 in contact cards */
    margin-top: 0;
    margin-bottom: 1.2em;
    padding-top: 0;
    position: relative;
}

.contact-form-container h2::after, .contact-info-container h2::after {
    left: 0; /* Align underline to the left */
    transform: translateX(0); /* No horizontal translation */
    width: 50px; /* Shorter underline for these specific h2s */
}

.contact-form-container .form-group {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container .submit-button {
    background-color: #e67e22;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.contact-form-container .submit-button:hover {
    background-color: #d35400;
}

.contact-info-container p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info-container strong {
    color: #2c3e50;
}

/* About Page Specific Styles */
.attorney-intro-section {
    padding: 30px 0;
    text-align: center; /* Center content within this section */
}

.attorney-intro-section h2 {
    margin-bottom: 25px;
}

.profile-image {
    width: 200px; /* Control size of the image */
    height: 200px;
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Ensure image covers the area well */
    margin-bottom: 20px;
    border: 5px solid #e67e22; /* Orange border */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.attorney-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #e67e22; /* Orange accent */
    margin-bottom: 25px;
}

/* Affiliation Logos */
.affiliation-logos-section {
    text-align: center; /* Center the heading */
    padding: 30px 0;
    background-color: #fff; /* White background for this section */
    margin-top: 30px;
    margin-bottom: 30px;
}

.affiliation-logos-section h2 {
    margin-bottom: 30px;
}

.affiliation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px; /* Space between logos */
    max-width: 900px; /* Limit width of the logo container */
    margin: 0 auto; /* Center the logo container */
}

.affiliation-logos img {
    max-height: 70px; /* Control logo height */
    max-width: 150px; /* Control logo width */
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.affiliation-logos img:hover {
    opacity: 1;
}

/* Footer */
.main-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 40px 0 20px;
    text-align: center;
    font-size: 0.95em;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ecf0f1; /* Lighter gray for links */
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e67e22; /* Orange accent on hover */
}

.footer-social-media {
    margin-bottom: 20px;
}

.footer-social-media a {
    color: #ecf0f1;
    margin: 0 10px;
    font-size: 1.4em; /* Larger social icons */
    transition: color 0.3s ease;
}

.footer-social-media a:hover {
    color: #e67e22;
}

.footer-copyright {
    font-size: 0.9em;
    color: #95a5a6; /* Even lighter gray for copyright */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default */
    cursor: pointer;
    z-index: 1001; /* Above nav overlay but below modal if any */
    padding: 10px;
    background-color: transparent; /* No background */
    border: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #2c3e50; /* Dark blue bars */
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 1px;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.98); /* Slightly transparent white */
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between mobile nav links */
}

.nav-overlay .nav-links a {
    color: #2c3e50; /* Dark blue text */
    text-decoration: none;
    font-size: 1.8em; /* Larger font for overlay */
    font-weight: 600;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-overlay .nav-links a:hover,
.nav-overlay .nav-links a.active {
    color: #e67e22; /* Accent color */
    background-color: rgba(44, 62, 80, 0.05); /* Subtle hover background */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-nav {
        padding: 20px 20px;
        min-height: 90px;
        justify-content: space-between;
    }
    
    .main-nav .nav-links {
        padding: 0;
        max-width: none;
    }
    
    .main-nav .logo-container {
        position: static;
        transform: none;
        margin-right: auto;
    }
    
    .main-nav .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        margin-left: 20px;
    }
    
    /* Mobile menu styles */
    .nav-overlay {
        display: flex;
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .nav-overlay .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px 0;
    }
    
    .nav-overlay .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-overlay .nav-links a {
        font-size: 1.5em;
        padding: 15px 30px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-overlay .contact-nav-button {
        display: inline-block;
        margin-top: 20px;
        font-size: 1.2em;
        padding: 12px 25px;
        width: auto;
    }
}

@media (max-width: 992px) {
    .services-grid {
        flex-direction: column; /* Stack service items */
        align-items: center; /* Center items when stacked */
    }
    .service-item {
        width: 90%; /* Full width when stacked, with some margin */
        max-width: 400px; /* Max width for single column items */
        margin-bottom: 20px;
    }
    .contact-page-container {
        flex-direction: column; /* Stack contact sections */
        gap: 0; /* Remove gap when stacked, rely on .content-card margin */
    }
    .contact-form-section, .contact-info-section {
        margin-bottom: 25px; /* Add margin back when stacked */
    }
    .contact-form-container.content-card:last-child, .contact-info-container.content-card:last-child {
        margin-bottom: 0;
    }
    .footer-links a {
        margin: 0 8px; /* Reduce spacing in footer links */
        font-size: 0.9em;
    }
    .footer-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    .main-nav {
        padding: 10px 20px;
    }
    .hero-content h1 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 0.9em;
    }
    .cta-button {
        font-size: 1em;
        padding: 12px 24px;
    }
    .service-item {
        padding: 20px;
    }
    .service-item h3 {
        font-size: 1.2em;
    }
    .page-content .content-card {
        padding: 20px;
    }
    .contact-form-container input[type="text"],
    .contact-form-container input[type="email"],
    .contact-form-container input[type="tel"],
    .contact-form-container textarea {
        padding: 10px;
        font-size: 0.95em;
    }
    .contact-form-container .submit-button {
        padding: 12px 24px;
        font-size: 1em;
    }
}


/* Footer Styles */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 30px 0;
}

.site-footer a {
    color: var(--color-footer-text);
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    color: var(--color-accent);
}

.footer-links {
    text-align: center;
    margin-bottom: 10px;
}

.footer-contact-info p {
    text-align: center;
}

/* Testimonials CTA on About Page */
.testimonials-cta-section {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px; /* Increased bottom padding for more space before footer */
    margin-top: 20px; /* Add some margin above it */
}

/* Checkmark Lists - Simple checkmarks instead of bullets */
.checkmark-list {
    list-style: none;
}

.checkmark-list li::before {
    content: "✓ ";
    color: inherit;
    font-weight: normal;
}


