/* CSS Variables */
:root {
    --primary-color: #1a3a52;
    --secondary-color: #c5a572;
    --accent-color: #8b7355;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --font-primary: 'Georgia', serif;
    --font-secondary: 'Arial', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

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

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    z-index: 10000;
}

    .skip-link:focus {
        top: 0;
    }

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.site-logo img {
    max-height: 70px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

    .mobile-menu-toggle .bar {
        width: 30px;
        height: 3px;
        background: var(--primary-color);
        margin: 4px 0;
        transition: all 0.3s ease;
    }

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation > ul > li {
    margin: 0 15px;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .main-navigation a:hover,
    .main-navigation .current-menu-item > a {
        color: var(--secondary-color);
    }

/* Dropdown Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    flex-direction: column;
    z-index: 100;
}

.main-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

    .main-navigation .sub-menu li:last-child {
        border-bottom: none;
    }

.main-navigation .sub-menu a {
    padding: 12px 20px;
    text-transform: none;
}

    .main-navigation .sub-menu a:hover {
        background: var(--light-bg);
    }

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: none;
}

    .slide.active {
        opacity: 1;
        display: block;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    width: 90%;
    max-width: 800px;
}

    .slide-content h1 {
        font-size: 72px;
        margin-bottom: 10px;
        color: var(--white);
    }

    .slide-content h2 {
        font-size: 48px;
        margin-bottom: 20px;
        color: var(--white);
    }

    .slide-content p {
        font-size: 20px;
        line-height: 1.5;
    }

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(26, 58, 82, 0.7);
    color: var(--white);
    border: none;
    font-size: 48px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-prev:hover,
    .slider-next:hover {
        background: var(--secondary-color);
        transform: scale(1.1);
    }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: scale(1.3);
    }

/* Firm Introduction */
.firm-intro {
    padding: 80px 0;
    background: var(--white);
}

    .firm-intro h2 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 40px;
        font-size: 42px;
    }

.intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.intro-image {
    flex: 0 0 300px;
}

    .intro-image img {
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

.intro-text {
    flex: 1;
}

    .intro-text p {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 20px;
        color: #555;
    }

/* Practice Areas */
.practice-areas {
    padding: 80px 0;
    background: var(--light-bg);
}

    .practice-areas h2 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 50px;
        font-size: 42px;
    }

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.practice-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .practice-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .practice-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .practice-item h3 {
        padding: 20px;
        text-align: center;
        color: var(--primary-color);
        font-size: 22px;
    }

    .practice-item a {
        color: inherit;
        display: block;
    }

        .practice-item a:hover h3 {
            color: var(--secondary-color);
        }

.more-areas {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 10px;
    }

.footer-column a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

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

.footer-column img {
    max-width: 80px;
    margin-bottom: 20px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

    .footer-bottom p {
        margin: 5px 0;
    }

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

/* Responsive Styles */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
    }

    .intro-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .practice-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    background-image: url('images/inner-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .page-header h1 {
        color: var(--white);
        font-size: 48px;
        margin-bottom: 20px;
    }

.breadcrumbs {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

    .breadcrumbs a {
        color: var(--white);
        text-decoration: underline;
    }

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

/* Team Introduction */
.team-intro {
    padding: 60px 0;
    background: var(--white);
}

    .team-intro .intro-text p {
        font-size: 18px;
        line-height: 1.8;
        color: #555;
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }

/* Team Section */
.team-section {
    padding: 60px 0;
}

    .team-section h2 {
        color: var(--primary-color);
        font-size: 36px;
        margin-bottom: 40px;
        text-align: center;
        position: relative;
        padding-bottom: 20px;
    }

        .team-section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--secondary-color);
        }

.staff-section {
    background: var(--light-bg);
}

/* Team Member Card */
.team-member-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

    .team-member-card h3 {
        color: var(--primary-color);
        font-size: 28px;
        margin-bottom: 10px;
    }

        .team-member-card h3 a {
            color: var(--primary-color);
        }

            .team-member-card h3 a:hover {
                color: var(--secondary-color);
            }

.member-title {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.member-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.btn-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

    .btn-link:hover {
        color: var(--secondary-color);
        transform: translateX(5px);
    }

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-member-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .staff-member-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .staff-member-card h3 {
        color: var(--primary-color);
        font-size: 22px;
        margin-bottom: 10px;
    }

        .staff-member-card h3 a {
            color: var(--primary-color);
        }

            .staff-member-card h3 a:hover {
                color: var(--secondary-color);
            }

    .staff-member-card p {
        font-size: 15px;
        line-height: 1.6;
        color: #555;
    }

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

/* Attorney Profile Page */
.attorney-profile {
    padding: 80px 0;
    background: var(--white);
}

.profile-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.profile-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

    .profile-image img {
        width: 100%;
        height: auto;
    }

.contact-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

    .contact-box h3 {
        color: var(--secondary-color);
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-box p {
        margin-bottom: 15px;
    }

    .contact-box a {
        color: var(--secondary-color);
        word-break: break-all;
    }

.btn-block {
    display: block;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

/* Profile Content */
.profile-content {
    background: var(--white);
}

.profile-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--light-bg);
}

    .profile-section:last-child {
        border-bottom: none;
    }

    .profile-section h2 {
        color: var(--primary-color);
        font-size: 28px;
        margin-bottom: 25px;
        position: relative;
        padding-left: 20px;
    }

        .profile-section h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 30px;
            background: var(--secondary-color);
        }

.credentials-list {
    list-style: none;
    padding: 0;
}

    .credentials-list li {
        padding: 15px 0;
        padding-left: 30px;
        position: relative;
        line-height: 1.8;
        color: #555;
    }

        .credentials-list li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-size: 20px;
        }

        .credentials-list li strong {
            color: var(--primary-color);
            display: block;
            margin-bottom: 5px;
        }

.profile-section p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

/* Practice Highlights */
.practice-highlights {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border: none;
}

.practice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .tag:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
    }

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
}

    .btn-secondary:hover {
        background: var(--white);
        color: var(--primary-color);
    }

/* Responsive for Attorney Profile */
@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-buttons {
        /*flex-direction: column;*/
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 400px;
        }
}

/* Staff Profiles Page */
.staff-profiles {
    padding: 60px 0;
    background: var(--white);
}

.staff-profile-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .staff-profile-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        transform: translateY(-5px);
    }

    .staff-profile-card:nth-child(even) {
        grid-template-columns: 1fr 300px;
        background: var(--light-bg);
    }

        .staff-profile-card:nth-child(even) .staff-image {
            order: 2;
        }

        .staff-profile-card:nth-child(even) .staff-info {
            order: 1;
        }

.staff-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

    .staff-image img {
        width: 100%;
        height: auto;
        display: block;
    }

.staff-info h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 5px;
}

.staff-title {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.staff-details h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--secondary-color);
}

.staff-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

    .staff-details ul li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        line-height: 1.6;
        color: #555;
    }

        .staff-details ul li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-size: 20px;
            line-height: 1.2;
        }

.staff-details p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.staff-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--light-bg);
}

    .staff-contact .btn-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-color);
        font-size: 16px;
        font-weight: 600;
        padding: 10px 20px;
        background: var(--light-bg);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

        .staff-contact .btn-link:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: translateX(5px);
        }

    .staff-contact svg {
        flex-shrink: 0;
    }

/* Responsive for Staff Page */
@media (max-width: 992px) {
    .staff-profile-card,
    .staff-profile-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

        .staff-profile-card:nth-child(even) .staff-image,
        .staff-profile-card:nth-child(even) .staff-info {
            order: 0;
        }

    .staff-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Practice Areas Page */
.practice-intro {
    padding: 60px 0;
    background: var(--white);
}

    .practice-intro .intro-text {
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
    }

        .practice-intro .intro-text p {
            font-size: 18px;
            line-height: 1.8;
            color: #555;
            margin-bottom: 20px;
        }

.practice-areas-page {
    padding: 60px 0 80px;
    background: var(--light-bg);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.practice-area-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

    .practice-area-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    }

    .practice-area-item a {
        display: block;
        color: inherit;
    }

.practice-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

    .practice-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.practice-area-item:hover .practice-image img {
    transform: scale(1.1);
}

.practice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.85) 0%, rgba(197, 165, 114, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.practice-area-item:hover .practice-overlay {
    opacity: 1;
}

.view-more {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.practice-area-item:hover .view-more {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

.practice-area-item h3 {
    padding: 25px 20px;
    text-align: center;
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.practice-area-item:hover h3 {
    color: var(--secondary-color);
}

/* Responsive for Practice Areas Page */
@media (max-width: 768px) {
    .practice-areas-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .practice-image {
        height: 200px;
    }

    .practice-area-item h3 {
        min-height: auto;
        padding: 20px 15px;
    }
}

/* Practice Area Detail Page */
.practice-area-content {
    padding: 60px 0;
    background: var(--white);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.main-content {
    max-width: 100%;
}

    .main-content article h2 {
        color: var(--primary-color);
        font-size: 32px;
        margin-bottom: 25px;
        margin-top: 0;
    }

    .main-content article h3 {
        color: var(--primary-color);
        font-size: 26px;
        margin-top: 40px;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--light-bg);
    }

    .main-content article h4 {
        color: var(--primary-color);
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .main-content article h5 {
        color: var(--primary-color);
        font-size: 18px;
        margin-bottom: 10px;
    }

    .main-content article p {
        font-size: 17px;
        line-height: 1.8;
        color: #555;
        margin-bottom: 20px;
    }

    .main-content article ul {
        margin-bottom: 25px;
    }

        .main-content article ul li {
            font-size: 16px;
            line-height: 1.8;
            color: #555;
            margin-bottom: 12px;
        }

/* Info Boxes */
.damages-box,
.highlight-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--secondary-color);
}

    .damages-box h4,
    .highlight-box h4 {
        color: var(--primary-color);
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .damages-box ul,
    .highlight-box ul {
        list-style: none;
        padding: 0;
    }

        .damages-box ul li,
        .highlight-box ul li {
            padding: 12px 0;
            padding-left: 30px;
            position: relative;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

            .damages-box ul li:last-child,
            .highlight-box ul li:last-child {
                border-bottom: none;
            }

            .damages-box ul li::before,
            .highlight-box ul li::before {
                content: '✓';
                position: absolute;
                left: 0;
                color: var(--secondary-color);
                font-size: 20px;
                font-weight: bold;
            }

/* Causes Grid */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cause-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .cause-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .cause-item h5 {
        color: var(--primary-color);
        font-size: 18px;
        margin-bottom: 10px;
    }

    .cause-item p {
        font-size: 15px;
        color: #666;
        margin-bottom: 0;
    }

/* Consultation CTA */
.consultation-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

    .consultation-cta h3 {
        color: var(--white);
        border: none;
        margin-top: 0;
        padding-bottom: 0;
    }

    .consultation-cta p {
        color: rgba(255,255,255,0.95);
        font-size: 18px;
    }

    .consultation-cta .cta-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
        margin: 25px 0;
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--primary-color);
    }

.email-cta {
    margin-top: 20px;
    font-size: 16px;
}

    .email-cta a {
        color: var(--white);
        text-decoration: underline;
        font-weight: 600;
    }

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

    .sidebar-widget h3 {
        color: var(--primary-color);
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--secondary-color);
    }

.related-practices {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .related-practices li {
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

        .related-practices li:last-child {
            border-bottom: none;
        }

    .related-practices a {
        display: block;
        padding: 12px 0;
        color: var(--primary-color);
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .related-practices a:hover {
            color: var(--secondary-color);
            padding-left: 10px;
        }

.contact-widget {
    background: var(--primary-color);
    color: var(--white);
}

    .contact-widget h3 {
        color: var(--white);
        border-bottom-color: var(--secondary-color);
    }

    .contact-widget p {
        color: rgba(255,255,255,0.9);
        margin-bottom: 15px;
    }

    .contact-widget .contact-info {
        margin: 20px 0;
    }

        .contact-widget .contact-info p {
            margin-bottom: 15px;
        }

        .contact-widget .contact-info strong {
            display: block;
            color: var(--secondary-color);
            margin-bottom: 5px;
        }

        .contact-widget .contact-info a {
            color: var(--white);
            font-size: 16px;
        }

    .contact-widget .btn {
        background: var(--white);
        color: var(--primary-color);
        margin-top: 20px;
    }

        .contact-widget .btn:hover {
            background: var(--secondary-color);
            color: var(--white);
        }

/* Responsive for Detail Pages */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }

    .causes-grid {
        grid-template-columns: 1fr;
    }

    .consultation-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .consultation-cta .btn {
        width: 100%;
        max-width: 400px;
    }
}

/* Useful Forms Page */
.forms-intro {
    padding: 60px 0;
    background: var(--white);
}

.intro-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

    .intro-box h2 {
        color: var(--primary-color);
        font-size: 32px;
        margin-bottom: 25px;
    }

    .intro-box p {
        font-size: 18px;
        line-height: 1.8;
        color: #555;
        margin-bottom: 20px;
    }

.forms-section {
    padding: 60px 0 80px;
    background: var(--light-bg);
}

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

.form-card {
    background: var(--white);
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

    .form-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

.form-icon {
    margin: 0 auto 25px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.form-card:hover .form-icon {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.form-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .btn-form:hover {
        background: var(--secondary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .btn-form svg {
        flex-shrink: 0;
    }

/* Responsive for Forms Page */
@media (max-width: 768px) {
    .forms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-card h3 {
        min-height: auto;
        font-size: 19px;
    }

    .form-icon {
        width: 70px;
        height: 70px;
    }

        .form-icon svg {
            width: 40px;
            height: 40px;
        }
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

/* Contact Form */
.contact-form-wrapper h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-form-wrapper > p {
    font-size: 17px;
    color: #666;
    margin-bottom: 35px;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 15px;
    }

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
    }

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

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

    .form-message.success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
        display: block;
    }

    .form-message.error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
        display: block;
    }

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box,
.office-hours-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

    .contact-info-box h3,
    .office-hours-box h3 {
        color: var(--primary-color);
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid var(--secondary-color);
    }

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

    .info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    flex: 1;
}

    .info-content p {
        margin-bottom: 8px;
        font-size: 15px;
        color: #555;
    }

    .info-content a {
        color: var(--primary-color);
        font-weight: 600;
    }

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

/* Office Hours */
.hours-list {
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

    .hours-item:last-child {
        border-bottom: none;
    }

.day {
    font-weight: 600;
    color: var(--primary-color);
}

.time {
    color: #666;
}

.hours-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}

/* Map Section */
.map-section {
    background: var(--light-bg);
}

.map-container {
    width: 100%;
    height: 450px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

/* Responsive for Contact Page */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
    }

        .main-navigation.active {
            display: block;
        }

        .main-navigation ul {
            flex-direction: column;
            align-items: stretch;
        }

        .main-navigation > ul > li {
            margin: 0;
            border-bottom: 1px solid #eee;
        }

        .main-navigation .sub-menu {
            position: static;
            opacity: 1;
            visibility: visible;
            transform: none;
            box-shadow: none;
            background: var(--light-bg);
            display: none;
        }

        .main-navigation .menu-item-has-children.active .sub-menu {
            display: block;
        }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .slide-content h1 {
        font-size: 48px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .hero-slider {
        height: 400px;
    }

    .slider-prev,
    .slider-next {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .firm-intro h2,
    .practice-areas h2 {
        font-size: 32px;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

.staff-photo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0056b3;
    font-weight: 600;
    text-decoration: none;
}

    .read-more:hover {
        text-decoration: underline;
    }
