section.attorneys-section {
    background: #fff;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
        z-index: 0;
    }

    .wrapper {
        position: relative;
        z-index: 1;
    }

    .attorney-cards-row {
        margin-top: 60px;
    }
}

.attorney-card {
    background: #fff;
    margin-bottom: 40px;
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid transparent;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #b38b32 0%, #d4a336 100%);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    &:hover::before {
        transform: scaleX(1);
    }

    &:hover {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        transform: translateY(-15px);
        border-color: #b38b32;
    }

    &:focus-within {
        outline: 3px solid #062c4a;
        outline-offset: 2px;
    }

    .attorney-image {
        width: 100%;
        height: 400px;
        overflow: hidden;
        background: linear-gradient(135deg, #062c4a 0%, #0a3d5f 100%);
        position: relative;

        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to top, rgba(6, 44, 74, 0.8) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.4s ease;
        }
    }

    &:hover .attorney-image::after {
        opacity: 1;
    }

    &:hover .attorney-image img {
        transform: scale(1.08);
    }

    .attorney-info {
        padding: 40px 35px;
        background: #fff;
    }

    .attorney-name {
        font-size: 28px;
        font-weight: 700;
        color: #062c4a;
        margin-bottom: 8px;
        position: relative;
        padding-bottom: 10px;

        &::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #b38b32;
            transition: width 0.4s ease;
        }
    }

    &:hover .attorney-name::after {
        width: 100px;
    }

    .attorney-title {
        font-size: 15px;
        color: #b38b32;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .attorney-bio {
        font-size: 15px;
        line-height: 1.8;
        color: #333;
        margin-bottom: 25px;
    }

    .attorney-contact {
        margin-bottom: 25px;
        border-top: 1px solid #e8e8e8;
        padding-top: 25px;

        p {
            margin-bottom: 12px;
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        i {
            color: #b38b32;
            margin-right: 12px;
            width: 20px;
            font-size: 16px;
            text-align: center;
        }

        a {
            color: #333;
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;

            &:hover {
                color: #b38b32;
                text-decoration: underline;
            }

            &:focus {
                outline: 2px solid #062c4a;
                outline-offset: 2px;
            }
        }
    }

    .attorney-highlights {
        background: #f8f8f8;
        padding: 20px;
        border-radius: 6px;
        margin-bottom: 20px;

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        li {
            padding: 8px 0 8px 25px;
            font-size: 14px;
            color: #333;
            position: relative;

            &::before {
                content: '\f005';
                font-family: 'Font Awesome 5 Free';
                font-weight: 900;
                position: absolute;
                left: 0;
                color: #b38b32;
                font-size: 12px;
            }
        }
    }

    .btn-attorney-profile {
        background: linear-gradient(135deg, #b38b32 0%, #d4a336 100%);
        color: #fff;
        padding: 15px 35px;
        border: 2px solid #b38b32;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: inline-block;
        text-decoration: none;
        transition: all 0.4s ease;
        width: 100%;
        text-align: center;
        border-radius: 4px;
        position: relative;
        overflow: hidden;

        &:hover {
            background: #fff;
            color: #062c4a;
            border-color: #062c4a;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(179, 139, 50, 0.4);
        }

        &:focus {
            outline: 3px solid #062c4a;
            outline-offset: 4px;
        }
    }
}
