.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 28, 65, 0.85) 0%, rgba(10, 28, 65, 0.6) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-text h1 .line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.hero-text h1 .line.active {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.hero-text p {
    font-size: 18px;
    color: var(--light-grey);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
}

.stats-section {
    background: var(--deep-navy);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--subtle-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-grey);
    line-height: 1.5;
}

.approach-section {
    padding: 100px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-content h2 {
    margin-bottom: 20px;
}

.approach-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.practice-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--subtle-gold);
}

.practice-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--deep-navy);
}

.practice-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.practice-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.why-choose-section {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 28, 65, 0.9);
}

.why-choose-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-content h2 {
    color: var(--white);
    margin-bottom: 40px;
}

.why-choose-list {
    text-align: left;
}

.why-choose-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--subtle-gold);
}

.why-choose-item h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.why-choose-item p {
    color: var(--light-grey);
    margin-bottom: 0;
    font-size: 15px;
}

.attorneys-preview {
    padding: 100px 0;
}

.attorneys-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.attorney-card {
    text-align: center;
}

.attorney-card-image {
    width: 200px;
    height: 250px;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.attorney-card:hover .attorney-card-image {
    transform: perspective(1000px) rotateY(2deg);
}

.attorney-card h3 {
    margin-bottom: 5px;
}

.attorney-card .title {
    color: var(--cool-grey);
    font-size: 14px;
}

.testimonials-section {
    padding: 100px 0;
    background: var(--light-grey);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/client-testimonial-bg.png');
    background-size: cover;
    opacity: 0.1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

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

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

.testimonial-card.active {
    background: linear-gradient(135deg, rgba(10, 28, 65, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--deep-navy);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cool-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--white);
}

.testimonial-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 12px;
    color: var(--cool-grey);
}

.cta-section {
    padding: 80px 0;
    background: var(--deep-navy);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--light-grey);
    margin-bottom: 30px;
}

.cta-section .phone {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--light-grey);
    margin-bottom: 25px;
    display: block;
}

.cta-section .phone:hover {
    color: var(--subtle-gold);
}

@media (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-image {
        height: 350px;
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .practice-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .attorneys-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
}
