html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    line-height: 1.7;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

nav a i {
    margin-right: 0.5rem;
}

nav a:hover {
    color: #ddd;
}

.cta a.btn-primary {
    background-color: #e67e22; 
}

.cta a.btn-primary:hover {
    background-color: #d35400;
}

#hero {
    background-color: #34495e; 
    color: white;
    text-align: center;
    padding: 10rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #e67e22; 
    color: white;
}

.btn-primary:hover {
    background-color: #d35400;
}

.btn-secondary {
    background-color: #f39c12;
    color: white;
}

.btn-secondary:hover {
    background-color: #e67e22;
}

.section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 4rem 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title i {
    margin-right: 0.5rem;
}

#practice-areas {
    padding: 4rem 2rem;
    background-color: #fff;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.practice-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.practice-item i {
    font-size: 3rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.practice-item h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.practice-item p {
    color: #555;
    line-height: 1.6;
}

#about {
    padding: 4rem 2rem;
    background-color: #f4f4f4;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

#contact {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.contact-details {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details i {
    margin-right: 0.5rem;
    color: #e67e22;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: left;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background-color: #d35400;
}

#consultation {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

#consultation.hidden {
    display: none;
}

#consultation h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

#consultation p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 1rem;
    }

    nav li {
        margin: 0.5rem 0;
    }

    .cta {
        margin-top: 1rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-text {
        text-align: center;
    }
}