* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    background-color: #fff;
    color: #000;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #341C02;
    color: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-toggle {
    display: none;
    border: 1px solid #8B6F47;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:active {
    transform: scale(0.95);
}

.header a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.logo {
    margin-bottom: 0;
}

.logo-main {
    font-size: 50px;
    font-weight: normal;
    letter-spacing: 8px;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
}

.logo-sub {
    font-size: 18px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: normal;
}

.nav-menu a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    padding-right: 10px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #8B6F47;
    transition: width 0.3s ease;
}

/* Hover Effect */
.nav-menu a:hover {
    color: #8B6F47;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Active Tab */
.nav-menu a.active {
    color: #8B6F47;
}

.nav-menu a.active::after {
    width: 100%;
}

/* About Banner */
.about-banner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

.about-banner-overlay {
    position: absolute;
    left: 80px;
    bottom: 90px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.about-banner-title {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: 2px;
}

.about-banner-summary {
    font-size: 18px;
    line-height: 1.6;
    max-width: 560px;
    letter-spacing: 0.2px;
}

.about-banner img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.what-we-do-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px 50px;
}

.what-we-do-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.what-we-do-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    text-align: center;
}

.what-we-do-title::after {
    content: "";
    display: block;
    width: 84px;
    height: 4px;
    background: #8B6F47;
    margin: 18px auto 0;
}

.what-we-do-text {
    font-size: 17px;
    line-height: 1.7;
    color: #222;
    max-width: 640px;
}

.advocate-section {
    background: #f5f5f5;
    padding: 60px 40px 70px;
}

.advocate-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.advocate-title {
    font-size: 58px;
    line-height: 1.05;
    color: #222;
    font-weight: 700;
    margin-bottom: 10px;
}

.advocate-subtitle {
    font-size: 22px;
    color: #333;
    max-width: 760px;
    margin: 0 auto;
}

.advocate-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.advocate-card {
    background: transparent;
    text-align: center;
    padding: 10px 8px 0;
    position: relative;
}

.advocate-card + .advocate-card {
    border-left: 2px solid #ffb15c;
}

.advocate-icon {
    font-size: 54px;
    line-height: 1;
    margin-bottom: 10px;
    color: #222;
}

.advocate-card h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 700;
}

.advocate-card p {
    font-size: 17px;
    line-height: 1.35;
    color: #222;
}

.approach-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.approach-copy {
    font-size: 18px;
    line-height: 1.7;
    color: #222;
    max-width: 720px;
}

.approach-copy p + p {
    margin-top: 24px;
}

.approach-heading h2 {
    font-size: 58px;
    line-height: 1.05;
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-accent {
    width: 84px;
    height: 4px;
    background: #8B6F47;
}

.site-footer {
    text-align: center;
    padding: 30px 20px 40px;
}

.site-footer-logo h2 {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 3px;
    color: #111;
    font-weight: 700;
    margin-bottom: 8px;
}

.site-footer-logo p {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 3px;
    color: #111;
    padding-top: 8px;
    border-top: 2px solid #111;
}

.site-footer-copy {
    margin-top: 28px;
    font-size: 18px;
    color: #111;
}

/* About Section */
.about-section {
    display: flex;
    padding: 60px 40px;
    background-color: #fff;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 0;
}

.about-text {
    font-size: 15px;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.8;
    font-family: 'Georgia', serif;
    text-align: justify;
}

.contact-info {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-right: 40px;
    border-right: 1px solid #ddd;
    min-width: 0;
}

.office {
    text-align: left;
}

.office-name {
    font-size: 16px;
    font-weight: bold !important;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.office p {
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: normal;
}

/* Side Images */
.side-image {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.side-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 200px;
}

    .image-gallery {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /* 6 images in one row */
        gap: 15px;
        width: 100%;
    }

    .image-gallery img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }
        .left-gallery,
    .right-gallery {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 180px;
        flex-shrink: 0;
    }

    .left-gallery img,
    .right-gallery img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

/* Practice Areas Section */
.practice-areas {
    display: flex;
    padding: 60px 40px;
    background-color: #fff;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
}

.practice-areas .practice-list {
    flex: 1;
    min-width: 0;
}

.email-contact {
    text-align: right;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.section-title {
    font-size: 22px;
    text-align: left;
    margin-bottom: 40px;
    letter-spacing: 2px;
    color: #000;
    font-weight: normal;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.practice-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.practice-item {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    min-width: 0;
}

.practice-name {
    font-size: 15px;
    margin-bottom: 8px;
    color: #000;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}

.practice-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding-left: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* About page hero sections */
.about-hero-section,
.about-attorneys-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px 0;
}

.about-hero-card,
.about-attorneys-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: start;
    background: #fff;
}

.about-hero-copy,
.about-attorneys-copy {
    padding: 14px 8px 0 14px;
}

.about-hero-title {
    font-size: 52px;
    line-height: 0.95;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #222;
    font-weight: 700;
}

.about-hero-text,
.about-attorneys-text {
    font-size: 17px;
    line-height: 1.7;
    color: #222;
    max-width: 440px;
}

.about-hero-text {
    margin-bottom: 24px;
}

.about-attorneys-title {
    font-size: 34px;
    margin-bottom: 16px;
    color: #222;
    font-weight: 700;
}

.about-hero-image-wrap,
.about-attorneys-image-wrap {
    position: relative;
}

.about-hero-image,
.about-attorneys-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.orange-rule {
    height: 4px;
    width: 100%;
    background: #8B6F47;
}

.orange-button {
    display: inline-block;
    background: #8B6F47;
    color: #fff;
    text-decoration: none;
    padding: 15px 26px;
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
}

.orange-button:hover {
    background: #341C02;
}

.about-attorneys-section {
    padding-top: 90px;
}

.about-attorneys-card {
    grid-template-columns: 1fr 1.05fr;
}

.about-attorneys-copy {
    padding-left: 32px;
    align-self: center;
}

.about-attorneys-text {
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .about-hero-card,
    .about-attorneys-card {
        grid-template-columns: 1fr;
    }

    .about-hero-title {
        font-size: 40px;
    }

    .about-hero-image,
    .about-attorneys-image {
        height: 280px;
    }

    .about-attorneys-copy {
        padding-left: 14px;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .header {
        padding: 16px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-menu {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    .nav-menu.open {
        max-height: 220px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu a {
        font-size: 14px;
        padding-right: 0;
        padding-bottom: 2px;
    }

    .logo {
        margin-bottom: 0;
        padding: 0;
    }

    .logo-main {
        font-size: 36px;
        letter-spacing: 3px;
        margin-bottom: 8px;
        line-height: 1.1;
    }

    .logo-sub {
        font-size: 12px;
        letter-spacing: 2px;
        line-height: 1.4;
    }

    /* About Section */
    .about-banner {
        padding: 30px 16px;
    }

    .about-banner img {
        height: 240px;
    }

    .about-banner-overlay {
        left: 30px;
        bottom: 40px;
    }

    .about-banner-title {
        font-size: 28px;
    }

    .about-banner-summary {
        font-size: 14px;
    }

    .what-we-do-section {
        padding: 10px 16px 40px;
    }

    .what-we-do-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .what-we-do-title {
        font-size: 28px;
        text-align: left;
    }

    .what-we-do-title::after {
        margin: 14px 0 0;
    }

    .what-we-do-text {
        font-size: 16px;
    }

    .advocate-section {
        padding: 40px 16px 48px;
    }

    .advocate-title {
        font-size: 34px;
    }

    .advocate-subtitle {
        font-size: 18px;
    }

    .advocate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advocate-card + .advocate-card {
        border-left: none;
        border-top: 2px solid #ffb15c;
        padding-top: 18px;
    }

    .approach-section {
        padding: 50px 16px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .approach-copy {
        font-size: 16px;
    }

    .approach-heading h2 {
        font-size: 38px;
    }

    .site-footer-copy {
        font-size: 15px;
    }

    .about-section {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    /* Images */
    .side-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        
    }

    .side-image img {
        width: 100%;
        max-width: 220px;
        height: auto;
        border-radius: 8px;
        margin-bottom: 50px;
    }

    .left-gallery,
    .right-gallery {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .left-gallery img,
    .right-gallery img {
        width: 30%;
        height: auto;
    }

    .image-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .image-gallery img {
        width: 100%;
        height: auto;
    }

    /* Contact Information */
    .contact-info {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        border: none;
        padding: 0;
    }

    .office {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

    .office-name {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .office p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* About Content */
    .about-content {
        width: 100%;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 12px;
    }

    /* Practice Areas */
    .practice-areas {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    .practice-list,
    .practice-content {
        width: 100%;
    }

    .section-title {
        font-size: 20px;
        text-align: center;
    }

    .practice-name {
        font-size: 15px;
    }

    .practice-desc {
        font-size: 13px;
        line-height: 1.7;
    }

    .email-contact {
        text-align: center;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .logo-sub {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .about-banner-overlay {
        left: 18px;
        right: 18px;
        bottom: 20px;
    }

    .about-banner-title {
        font-size: 24px;
    }

    .about-banner-summary {
        font-size: 13px;
        line-height: 1.5;
    }

    .advocate-title {
        font-size: 28px;
    }

    .approach-heading h2 {
        font-size: 32px;
    }

    .about-hero-title {
        font-size: 32px;
    }
}