/**
 * TruckLawHub Professional Attorney Theme
 * Professional styling for truck accident attorney legal services
 */

/* Color Scheme for Legal Services */
:root {
    --navy: #0a2e5e;
    --dark-blue: #1a4d8f;
    --accent-gold: #d4af37;
    --success-green: #27ae60;
    --danger-red: #c0392b;
    --light-gray: #ecf0f1;
    --dark-gray: #34495e;
    --text-dark: #2c3e50;
    --border-light: #bdc3c7;
}

/* AUTHORITY BAR - Trust Section */
.authority-bar {
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 40px 20px;
    background-attachment: fixed;
    animation: fadeIn 0.8s ease-out;
}

.authority-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
}

.authority-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.authority-icon {
    font-size: 32px;
    display: block;
}

.authority-item p {
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    font-size: 15px;
}

/* PRACTICE AREAS SECTION */
.practice-areas {
    padding: 80px 20px;
    background: white;
}

.practice-areas h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-subtext {
    text-align: center;
    color: var(--dark-gray);
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.practice-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out backwards;
}

.practice-card:nth-child(1) { animation-delay: 0.1s; }
.practice-card:nth-child(2) { animation-delay: 0.2s; }
.practice-card:nth-child(3) { animation-delay: 0.3s; }
.practice-card:nth-child(4) { animation-delay: 0.4s; }
.practice-card:nth-child(5) { animation-delay: 0.5s; }

.practice-card:hover {
    border-color: var(--dark-blue);
    box-shadow: 0 12px 28px rgba(26, 77, 143, 0.15);
    transform: translateY(-6px);
}

.practice-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.practice-card h3 {
    color: var(--navy);
    font-size: 20px;
    margin: 16px 0;
    font-weight: 600;
}

.practice-card p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.learn-more {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.practice-card:hover .learn-more {
    color: var(--danger-red);
    gap: 8px;
}

/* LEGAL GUIDES SECTION */
.legal-guides {
    background: var(--light-gray);
    padding: 80px 20px;
}

.legal-guides h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: scaleUp 0.6s ease-out backwards;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.2s; }
.guide-card:nth-child(3) { animation-delay: 0.3s; }
.guide-card:nth-child(4) { animation-delay: 0.4s; }

.guide-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.guide-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: -16px 0 16px 0;
    box-shadow: 0 4px 12px rgba(10, 46, 94, 0.2);
}

.guide-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin: 16px 0;
    font-weight: 600;
}

.guide-card p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.guide-card:hover .read-more {
    color: var(--danger-red);
}

/* LOCATION SECTION */
.location-section {
    padding: 80px 20px;
    background: white;
}

.location-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.location-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 32px 24px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.2);
    animation: slideInFromBottom 0.6s ease-out backwards;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(26, 77, 143, 0.3);
}

.location-card h3 {
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.location-card p {
    font-size: 14px;
    opacity: 0.95;
    margin: 0;
}

/* COMPLEXITY SECTION */
.complexity-section {
    background: var(--light-gray);
    padding: 80px 20px;
}

.complexity-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.complexity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.complexity-item {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out backwards;
}

.complexity-item:nth-child(1) { animation-delay: 0.1s; }
.complexity-item:nth-child(2) { animation-delay: 0.2s; }
.complexity-item:nth-child(3) { animation-delay: 0.3s; }
.complexity-item:nth-child(4) { animation-delay: 0.4s; }

.complexity-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.complexity-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.complexity-item h3 {
    color: var(--navy);
    font-size: 18px;
    margin: 12px 0;
    font-weight: 600;
}

.complexity-item p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* MAIN CTA SECTION */
.main-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.main-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.main-cta p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 32px;
}

.btn-cta-large {
    background: white;
    color: var(--navy);
    padding: 16px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: scaleUp 0.6s ease-out;
}

.btn-cta-large:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* FAQ SECTION */
.faq-section {
    padding: 80px 20px;
    background: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }
.faq-item:nth-child(9) { animation-delay: 0.5s; }
.faq-item:nth-child(10) { animation-delay: 0.55s; }

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question span:first-child {
    text-align: left;
}

.faq-icon {
    display: block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    color: var(--dark-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafbfc;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 24px;
    margin: 0;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.8;
}

/* POST FAQS SECTION */
.post-faq-section {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 2px solid var(--border-light);
}

.post-faq-section h2 {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 30px;
    font-weight: 700;
}

.post-faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
}

.post-faq-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--dark-blue);
}

.post-faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    transition: background 0.3s ease;
    text-align: left;
}

.post-faq-question:hover {
    background: var(--light-gray);
}

.post-faq-icon {
    display: block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    color: var(--dark-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.post-faq-item.open .post-faq-icon {
    transform: rotate(45deg);
}

.post-faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafbfc;
    transition: max-height 0.3s ease;
}

.post-faq-item.open .post-faq-answer {
    max-height: 500px;
}

.post-faq-answer p {
    padding: 20px;
    margin: 0;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.8;
}

/* Featured Posts & Other existing styles remain below... */

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 12px 0;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info span {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Updated Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 48px;
    z-index: 99;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 80px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: absolute;
    left: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 12px;
    color: var(--dark-blue);
    font-style: italic;
    margin: 0;
    letter-spacing: 0.3px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    padding-bottom: 6px;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--dark-blue), var(--danger-red));
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--dark-blue);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-menu a.active {
    color: var(--dark-blue);
    font-weight: 600;
}

.navbar-menu a.active::after {
    width: 100%;
}

.cta-phone {
    background: var(--danger-red) !important;
    color: white !important;
    padding: 10px 18px !important;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.25);
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    overflow: hidden;
    margin: 0 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.cta-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.cta-phone:hover {
    background: #a02e24 !important;
    color: white !important;
    transform: translateY(calc(-50% - 2px)) !important;
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.35);
}

.cta-phone:hover::before {
    left: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: white;
    min-width: 220px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 12px;
    z-index: 1000;
    animation: slideInDown 0.3s ease-out;
    border-top: 3px solid var(--danger-red);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 18px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--danger-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--danger-red);
    padding-left: 24px;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section - Professional Attorney */
.attorney-hero {
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 46, 94, 0.65);
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease;
}

.attorney-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-disclaimer {
    font-size: 14px;
    color: #ffffff;
    margin-top: 24px;
    letter-spacing: 0.3px;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.btn-primary-large {
    background: var(--danger-red);
    color: white;
    padding: 16px 32px;
    border: 2px solid var(--danger-red);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.btn-primary-large:hover {
    background: #a02e24;
    border-color: #a02e24;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.4);
}

.btn-primary-large:active {
    transform: translateY(0);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border: 2px solid white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.btn-secondary-large:hover {
    background: white;
    color: var(--navy);
}

.hero-disclaimer {
    font-size: 14px;
    color: #ffffff;
    margin-top: 24px;
    letter-spacing: 0.3px;
}

/* Trust Section */
.trust-section {
    background: var(--light-gray);
    padding: 80px 20px;
}

.trust-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 60px;
    font-weight: 700;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideInUp 0.6s ease-out backwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.trust-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.trust-item h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.trust-item p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: white;
}

.services-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 60px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    animation: scaleUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    border-color: var(--dark-blue);
    box-shadow: 0 8px 20px rgba(26, 77, 143, 0.15);
    transform: translateY(-4px);
}

.service-card h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    color: var(--dark-gray);
    font-size: 13px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    padding: 80px 20px;
    color: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 36px;
    color: white;
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(10px);
    animation: slideInFromLeft 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    color: #ffffff;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0;
}

/* Attorney Stats Section */
.attorney-stats {
    background: var(--light-gray);
    padding: 60px 20px;
}

.attorney-stats .stat-item {
    text-align: center;
}

.attorney-stats h3 {
    font-size: 42px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 8px;
}

.attorney-stats p {
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 600;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--danger-red) 0%, #a02e24 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-cta > p {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-primary-xl {
    background: white;
    color: var(--danger-red);
    padding: 16px 36px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary-xl:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: var(--navy);
}

.btn-secondary-xl {
    background: transparent;
    color: white;
    padding: 16px 36px;
    border: 2px solid white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-xl:hover {
    background: white;
    color: var(--danger-red);
}

.contact-disclaimer {
    font-size: 13px;
    color: #ffffff;
    margin-top: 20px;
    letter-spacing: 0.3px;
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 20px;
    background: white;
}

.featured-posts h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 60px;
    font-weight: 700;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.6s ease-out backwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.15s; }
.post-card:nth-child(3) { animation-delay: 0.2s; }
.post-card:nth-child(4) { animation-delay: 0.25s; }
.post-card:nth-child(5) { animation-delay: 0.3s; }
.post-card:nth-child(6) { animation-delay: 0.35s; }

.post-card:hover {
    box-shadow: 0 8px 20px rgba(26, 77, 143, 0.12);
    transform: translateY(-4px);
    border-color: var(--dark-blue);
}

.post-image {
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.placeholder-image p {
    margin: 0;
    font-size: 12px;
    color: #999;
    max-width: 90%;
    line-height: 1.4;
}

.post-content {
    padding: 24px;
}

.category-badge {
    display: inline-block;
    background: var(--dark-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.category-badge a {
    color: white;
    text-decoration: none;
}

.post-card h3 {
    margin: 16px 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: 600;
}

.post-card a:not(.category-badge a) {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card a:not(.category-badge a):hover {
    color: var(--dark-blue);
}

.post-excerpt {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #505050;
    margin-bottom: 16px;
}

.read-more {
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 8px;
}

/* Categories Section */
.categories-section {
    background: var(--light-gray);
    padding: 80px 20px;
}

.categories-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 60px;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-item {
    background: white;
    padding: 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid var(--dark-blue);
}

.category-item:hover {
    box-shadow: 0 8px 16px rgba(26, 77, 143, 0.15);
    transform: translateY(-4px);
    border-left-color: var(--accent-gold);
}

.category-item h3 {
    color: var(--navy);
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.category-item p {
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--navy);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #d0d0d0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #e0e0e0;
    font-size: 13px;
}

.footer-bottom p {
    margin: 4px 0;
}

.disclaimer {
    font-size: 12px;
    color: #d0d0d0;
    margin-top: 8px !important;
}

/* Animations & Transitions */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

/* Parallax Effect Section Background */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Apply animation to elements */
section {
    animation: fadeIn 0.8s ease-out;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* No Content Message - High Contrast */
.no-content {
    text-align: center;
    padding: 40px;
    color: var(--navy) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

/* CHAT WIDGET STYLES */
.chat-widget-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, var(--danger-red) 0%, #a02e24 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.4) !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.chat-widget-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5) !important;
}

.chat-widget {
    position: fixed !important;
    bottom: 90px !important;
    right: 20px !important;
    width: 380px !important;
    max-height: 600px !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15) !important;
    display: none !important;
    flex-direction: column !important;
    z-index: 9998 !important;
    overflow: hidden !important;
    font-family: inherit !important;
}

.chat-widget.active {
    display: flex !important;
}

.chat-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.chat-close:hover {
    transform: scale(1.1);
}

.chat-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    background: #f8f9fa;
}

.chat-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    text-align: center;
}

.chat-tab:hover {
    background: white;
    color: var(--dark-blue);
}

.chat-tab.active {
    color: var(--danger-red);
    border-bottom-color: var(--danger-red);
    background: white;
}

.chat-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    animation: slideInUp 0.3s ease-out;
}

.chat-message.bot {
    background: #e8f0f7;
    color: var(--navy);
    margin-right: 20px;
}

.chat-message.user {
    background: var(--danger-red);
    color: white;
    margin-left: 20px;
    align-self: flex-end;
}

.chat-form {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 8px;
}

.chat-form input,
.chat-form textarea {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    resize: none;
}

.chat-form input:focus,
.chat-form textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 143, 0.1);
}

.chat-form button {
    padding: 10px 16px;
    background: var(--danger-red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.chat-form button:hover {
    background: #a02e24;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(26, 77, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--danger-red);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #a02e24;
}

@media (max-width: 480px) {
    .chat-widget {
        width: calc(100% - 40px);
        max-height: 70vh;
        bottom: 70px;
        right: 20px;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        z-index: 100;
    }

    .navbar .container {
        position: relative;
        justify-content: flex-start;
        gap: 0;
    }

    .navbar-brand {
        position: relative;
        left: 0;
        align-items: center;
        flex: 1;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .navbar-menu.active {
        max-height: 600px;
    }

    .navbar-menu li {
        padding: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .navbar-menu a {
        display: block;
        padding: 16px 20px;
        border-bottom: none !important;
    }

    .navbar-menu a.active {
        background: var(--light-gray);
        border-bottom: none !important;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background: #f8f9fa;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 20px 12px 40px;
        font-size: 13px;
    }

    .cta-phone {
        width: 100%;
        text-align: center;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .attorney-hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .practice-grid,
    .guides-grid,
    .location-grid,
    .complexity-grid,
    .trust-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .authority-bar .container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }

    .practice-areas h2,
    .legal-guides h2,
    .location-section h2,
    .complexity-section h2,
    .services-section h2,
    .trust-section h2,
    .testimonials-section h2,
    .featured-posts h2,
    .categories-section h2,
    .faq-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .section-subtext {
        font-size: 14px;
    }

    .practice-card,
    .guide-card,
    .location-card,
    .complexity-item {
        padding: 24px 18px;
    }

    .faq-container {
        padding: 0 16px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 18px;
    }

    .main-cta h2 {
        font-size: 28px;
    }

    .main-cta p {
        font-size: 15px;
    }

    .btn-cta-large {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .attorney-stats h3 {
        font-size: 32px;
    }

    .contact-cta h2 {
        font-size: 28px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-xl,
    .btn-secondary-xl {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .attorney-hero {
        padding: 80px 16px;
    }

    .attorney-hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .navbar-menu {
        gap: 10px;
    }

    .top-bar {
        padding: 8px 0;
    }

    .contact-info span {
        font-size: 12px;
    }

    .authority-bar .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .authority-item p {
        font-size: 14px;
    }

    .practice-areas,
    .legal-guides,
    .location-section,
    .complexity-section,
    .main-cta,
    .faq-section {
        padding: 60px 16px;
    }

    .practice-areas h2,
    .legal-guides h2,
    .location-section h2,
    .complexity-section h2,
    .main-cta h2,
    .faq-section h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .guide-number {
        font-size: 36px;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        padding: 14px 20px;
    }
}
