/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #1a365d;
    --primary-dark: #0f2342;
    --secondary-color: #c59d5f;
    --secondary-dark: #b08d4f;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #1a1a1a;
    --bg-color: #ffffff;
    --bg-light: #f7f9fc;
    --bg-dark: #1a365d;
    --border-color: #e5e5e5;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 5px 15px rgba(0, 0, 0, 0.2);
    --radius: 5px;
    --radius-lg: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.text-btn {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0;
    position: relative;
    font-weight: 600;
}

.text-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.text-btn:hover {
    color: var(--secondary-color);
}

.text-btn:hover::after {
    width: 100%;
}

.text-btn i {
    margin-left: 5px;
    transition: var(--transition);
}

.text-btn:hover i {
    transform: translateX(3px);
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--secondary-color);
}

.section-tag::before {
    right: 100%;
    margin-right: 15px;
}

.section-tag::after {
    left: 100%;
    margin-left: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header-top {
    background-color: var(--primary-dark);
    padding: 0.5rem 0;
    color: #fff;
}

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

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-right: 1.5rem;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.contact-info i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 0.8rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.cta-button {
    margin-left: 2rem;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero .subtitle {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-image img {
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 54, 93, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== PRACTICE AREAS SECTION ===== */
.practice {
    padding: 6rem 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.practice-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.practice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-bottom-color: var(--secondary-color);
}

.practice-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 54, 93, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.practice-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.practice-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== CTA SECTION ===== */
.cta {
    position: relative;
    background: url('https://images.unsplash.com/photo-1453749024858-4bca89bd9edc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7));
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== ATTORNEYS SECTION ===== */
.attorneys {
    background-color: var(--bg-light);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.attorney-card {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.attorney-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.attorney-image {
    position: relative;
    overflow: hidden;
}

.attorney-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attorney-card:hover .attorney-image img {
    transform: scale(1.05);
}

.attorney-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(26, 54, 93, 0.9);
    padding: 1rem 0;
    transition: var(--transition);
}

.attorney-card:hover .attorney-social {
    bottom: 0;
}

.attorney-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.attorney-social a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.attorney-info {
    padding: 2rem;
    text-align: center;
}

.attorney-info h3 {
    margin-bottom: 0.5rem;
}

.attorney-info .position {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.attorney-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== CASE RESULTS SECTION ===== */
.case-results {
    padding: 6rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.result-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-header h3 {
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.result-tag {
    display: inline-block;
    background-color: rgba(26, 54, 93, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.result-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.result-outcome {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-color);
}

.result-outcome strong {
    color: var(--secondary-color);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    width: 100%;
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-content {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.testimonial-author h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== CONSULTATION SECTION ===== */
.consultation {
    padding: 6rem 0;
}

.consultation-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.consultation-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.consultation-form {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.consultation-form .btn {
    width: 100%;
}

/* ===== CONTACT/OFFICES SECTION ===== */
.contact {
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.office-card {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.office-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.office-info {
    padding: 2rem;
}

.office-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.office-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.office-info address {
    font-style: normal;
}

.office-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.office-info i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 4rem 0;
}

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

.newsletter-text h2 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    min-width: 450px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    border-radius: 0;
    background-color: var(--secondary-color);
}

.newsletter-form .btn:hover {
    background-color: var(--secondary-dark);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-column .social-links {
    margin-top: 2rem;
}

.footer-column .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-column .social-links a:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-column.contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-column.contact i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Animation for AOS (used with data-aos attributes) */
[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content,
    .consultation-content {
        gap: 2rem;
    }
    
    .newsletter-form {
        min-width: 400px;
    }
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content,
    .consultation-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-bottom: 2rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text {
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 130px;
        left: -100%;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .cta-button {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .practice-grid,
    .results-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 0.9rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .attorneys-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
} 