/* Lawyer Profile Styles */
.lawyer-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.lawyer-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.lawyer-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.lawyer-hero .hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.lawyer-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.lawyer-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.lawyer-hero .hero-shape {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.lawyers-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.1) 0px, rgba(212, 175, 55, 0.1) 2px, transparent 2px, transparent 4px);
}

.lawyer-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.lawyer-profile.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.lawyer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lawyer-image:hover .lawyer-overlay {
    opacity: 1;
}

.lawyer-image:hover img {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--accent-color);
}

.lawyer-info {
    padding: 40px;
}

.lawyer-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lawyer-info .title {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.practice-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.practice-areas span {
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.practice-areas span:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.detail-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.detail-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.lawyer-bio {
    margin-bottom: 30px;
}

.lawyer-bio p {
    color: var(--text-color);
    line-height: 1.8;
}

.lawyer-achievements {
    margin-bottom: 30px;
}

.lawyer-achievements h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.lawyer-achievements ul {
    list-style: none;
    padding-left: 0;
}

.lawyer-achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.lawyer-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .lawyer-profile {
        grid-template-columns: 1fr;
    }

    .lawyer-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .lawyer-hero h1 {
        font-size: 2.5rem;
    }

    .lawyer-info {
        padding: 30px;
    }

    .lawyer-info h2 {
        font-size: 2rem;
    }

    .lawyer-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .lawyer-hero {
        padding: 80px 0 60px;
    }

    .lawyer-hero h1 {
        font-size: 2rem;
    }

    .practice-areas {
        flex-direction: column;
    }

    .practice-areas span {
        width: 100%;
        text-align: center;
    }
}

/* Lawyer Cards Section */
.lawyer-cards {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.lawyer-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.lawyer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.lawyer-card:hover .card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lawyer-card:hover .image-overlay {
    opacity: 1;
}

.practice-tags {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.practice-tags span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.specialization {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.experience-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 14px;
}

.view-profile {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-profile:hover {
    background: var(--secondary-color);
}

/* Lawyer Profiles Section */
.lawyer-profiles {
    padding: 80px 0;
}

.lawyer-profile {
    display: none;
    margin-bottom: 60px;
}

.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

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

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--white);
    border-radius: 10px;
    pointer-events: none;
}

.social-links {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 2;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.profile-content {
    padding: 40px;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-header h2 {
    font-size: 32px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.profile-header .title {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.practice-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.practice-areas span {
    padding: 6px 15px;
    background: var(--light-gray);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

.detail-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card i {
    font-size: 24px;
    color: var(--primary-color);
}

.detail-card h4 {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.detail-card p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

.profile-bio {
    margin-bottom: 30px;
}

.profile-bio h4 {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.profile-bio p {
    color: var(--text-color);
    line-height: 1.6;
}

.profile-achievements {
    margin-bottom: 30px;
}

.profile-achievements h4 {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.profile-achievements ul {
    list-style: none;
    padding: 0;
}

.profile-achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.profile-achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .lawyer-hero h1 {
        font-size: 36px;
    }

    .lawyer-hero p {
        font-size: 16px;
    }

    .profile-header h2 {
        font-size: 28px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .lawyer-hero {
        padding: 100px 0 60px;
    }

    .lawyer-hero h1 {
        font-size: 28px;
    }

    .card-image {
        height: 250px;
    }

    .profile-content {
        padding: 25px;
    }
} 