/* Base Styles */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a6fa5;
    --text-color: #e6e6e6;
    --text-muted: #a0a0a0;
    --border-color: #3a3a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    background-color: var(--secondary-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background-color: var(--secondary-color);
    padding: 6rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('justice.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    color: var(--accent-color);
}

/* Expertise Section */
.expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.expertise-list li {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-radius: 5px;
    position: relative;
    padding-left: 2rem;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0.7rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact-info {
    margin-bottom: 2rem;
}

.notice {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    margin-top: 1.5rem;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3a5a84;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    #hero {
        padding: 4rem 0;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
}
