/*
 * Law Firm Professional Enhancements
 * This stylesheet adds sophisticated refinements to the existing design
 */

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
}

p {
    line-height: 1.75;
    font-size: 1.0625rem;
}

/* Professional Header Refinements */
.header {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 70px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.02);
}

.nav-link {
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.phone-btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.phone-btn:hover {
    border-color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Enhanced Hero Section */
.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    max-width: 90%;
}

.hero-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-form h3 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

/* Refined Form Elements */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.15);
}

.form-submit {
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Professional CTA Buttons */
.cta-primary {
    padding: 1.125rem 2.25rem;
    border-radius: 8px;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
}

.cta-btn {
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Enhanced Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1875rem;
    max-width: 680px;
    line-height: 1.7;
    font-weight: 400;
}

/* Professional Cards */
.value-item,
.benefit-item,
.practice-area-card,
.category-card,
.case-item {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-item:hover,
.benefit-item:hover,
.practice-area-card:hover,
.category-card:hover,
.case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 144, 226, 0.2);
}

.value-icon,
.benefit-icon,
.practice-area-icon,
.category-icon,
.case-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.75rem;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.25);
}

.value-item h3,
.benefit-item h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.value-item p,
.benefit-item p {
    line-height: 1.75;
    font-size: 1rem;
}

/* Enhanced Practice Items */
.practice-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.practice-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.practice-item h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

/* Professional Sections Spacing */
.who-we-are-preview,
.practice-areas-preview,
.why-choose,
.final-cta {
    padding: 5rem 0;
}

/* Enhanced CTA Section */
.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Professional Footer */
.footer {
    background-color: #0a1628;
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    letter-spacing: 0.01em;
}

.footer-section p {
    line-height: 1.7;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        max-width: 100%;
    }

    .hero-form {
        padding: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2.25rem;
    }
}
