@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #1A2E44;
    --accent-gold: #A08C5D;
    --bg-off-white: #F8F8F8;
    --secondary-grey: #6D7B8E;
    --light-grey: #E0E0E0;
    --white: #ffffff;
    --font-primary: 'Playfair Display', serif;
    --font-fallback: 'Lato', sans-serif;
    --transition-base: 0.3s ease;
    --shadow-card: 0 4px 20px rgba(26, 46, 68, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(26, 46, 68, 0.15);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-fallback);
    color: var(--primary-blue);
    background-color: var(--bg-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.sticky {
    height: 64px;
    box-shadow: 0 4px 20px rgba(26, 46, 68, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.logo {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}

.phone-link svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-gold);
}

.phone-link:hover {
    color: var(--accent-gold);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    font-family: var(--font-fallback);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-blue);
    color: var(--accent-gold);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary-blue);
    font-family: var(--font-fallback);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-blue);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    color: var(--white);
    font-size: 24px;
    font-family: var(--font-primary);
}

.mobile-menu .btn-primary {
    margin-top: 20px;
}

.mobile-contact-info {
    position: absolute;
    top: 24px;
    left: 24px;
    color: var(--white);
    font-size: 14px;
}

.mobile-contact-info a {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: var(--primary-blue);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, rgba(26, 46, 68, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px;
}

.hero-text h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 24px;
    overflow: hidden;
}

.hero-text h1 .line {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.hero-text h1 .line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--light-grey);
    margin-bottom: 32px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.6s forwards;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeIn 0.6s ease 0.8s forwards;
}

.trust-badge .badge-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease infinite;
}

.trust-badge .badge-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-blue);
}

.hero-cta {
    opacity: 0;
    animation: fadeIn 0.6s ease 1s forwards;
}

.hero-visual {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--primary-blue);
    color: var(--white);
}

.section-light {
    background: var(--bg-off-white);
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary-grey);
    margin-bottom: 48px;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 46, 68, 0.12);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

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

.about-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.about-content p {
    color: var(--secondary-grey);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content .btn-ghost {
    margin-top: 24px;
}

/* Why Choose Us Cards */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-choose-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.why-choose-card .card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c4a874 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.why-choose-card:hover .card-icon {
    transform: scale(1.1);
}

.why-choose-card .card-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-blue);
}

.why-choose-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.why-choose-card p {
    color: var(--secondary-grey);
    font-size: 15px;
    line-height: 1.7;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--light-grey);
    margin-top: 8px;
}

/* Practice Areas Grid */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.practice-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.practice-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--primary-blue);
}

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

.practice-card:hover .practice-card-image img {
    transform: scale(1.05);
}

.practice-card-content {
    padding: 28px;
}

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

.practice-card-content p {
    color: var(--secondary-grey);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.practice-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.practice-card-link:hover {
    color: var(--primary-blue);
}

/* Testimonials Carousel */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-slide {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-family: var(--font-primary);
    font-size: 28px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--white);
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-gold);
}

.testimonial-role {
    font-size: 14px;
    color: var(--light-grey);
    margin-top: 4px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Process Timeline */
.process-section {
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--accent-gold);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--white);
    border: 3px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-blue);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: var(--secondary-grey);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c4a874 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: var(--primary-blue);
    opacity: 0.8;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: var(--primary-blue);
    color: var(--accent-gold);
    padding: 18px 48px;
    font-size: 14px;
}

.cta-section .btn-primary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-gold);
}

.contact-item a {
    color: var(--secondary-grey);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.contact-hours {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--light-grey);
}

.contact-hours h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.contact-hours p {
    color: var(--secondary-grey);
    font-size: 15px;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--light-grey);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-column h4 {
    font-size: 16px;
    font-family: var(--font-fallback);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--light-grey);
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-grey);
    font-size: 14px;
}

/* Page Hero Sections */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    padding-top: 80px;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 46, 68, 0.85);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
}

.page-hero h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Specific */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.story-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.mission-section {
    background: var(--primary-blue);
    color: var(--white);
}

.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.mission-value {
    text-align: center;
}

.mission-value .value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-value .value-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-blue);
}

.mission-value h4 {
    font-size: 16px;
    margin-bottom: 12px;
    font-family: var(--font-fallback);
    font-weight: 700;
}

.mission-value p {
    font-size: 14px;
    color: var(--light-grey);
    line-height: 1.6;
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.partner-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 24px;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.partner-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.partner-card h3 {
    font-size: 22px;
    margin: 20px 0 8px;
}

.partner-card .partner-title {
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.partner-card p {
    color: var(--secondary-grey);
    font-size: 14px;
    padding: 0 20px;
    line-height: 1.6;
}

/* Attorneys Page */
.team-photo {
    max-width: 1000px;
    margin: 0 auto 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.team-photo img {
    width: 100%;
    height: auto;
}

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

.attorney-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.attorney-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.attorney-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.attorney-card-content {
    padding: 24px;
}

.attorney-card h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.attorney-card .attorney-title {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.attorney-card .attorney-specialties {
    color: var(--secondary-grey);
    font-size: 13px;
    margin-bottom: 16px;
}

.attorney-card p {
    color: var(--secondary-grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.attorney-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Practice Areas Page */
.pa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pa-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--light-grey);
}

.pa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.pa-card .pa-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pa-card .pa-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-blue);
}

.pa-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.pa-card p {
    color: var(--secondary-grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pa-card-link {
    font-weight: 600;
    color: var(--accent-gold);
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--light-grey);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding-bottom: 24px;
    color: var(--secondary-grey);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Resources Page */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
}

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

.article-card-content {
    padding: 24px;
}

.article-card .article-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card p {
    color: var(--secondary-grey);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Glossary */
.glossary-section {
    max-width: 800px;
    margin: 0 auto;
}

.glossary-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-grey);
}

.glossary-term {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.glossary-definition {
    color: var(--secondary-grey);
    line-height: 1.6;
}

/* Contact Page */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: var(--font-fallback);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    border-width: 2px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-methods {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-gold);
}

.contact-method a {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
}

.contact-method a:hover {
    color: var(--accent-gold);
}

.social-connect {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--light-grey);
    margin-top: 40px;
}

.social-connect h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.emergency-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.emergency-notice h4 {
    font-size: 16px;
    color: #856404;
    margin-bottom: 8px;
}

.emergency-notice p {
    font-size: 14px;
    color: #856404;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.award-item {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.award-item:hover {
    transform: translateY(-4px);
}

.award-item .award-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-grey);
    margin-bottom: 8px;
}

.award-item p {
    font-size: 13px;
    color: var(--secondary-grey);
}

/* Practice Area Detail */
.pa-detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pa-detail-section:nth-child(even) .pa-detail-image {
    order: 2;
}

.pa-detail-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.pa-detail-image img {
    width: 100%;
    height: auto;
}

.pa-detail-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
}

.pa-detail-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.pa-detail-content p {
    color: var(--secondary-grey);
    line-height: 1.8;
    margin-bottom: 24px;
}

.pa-services-list {
    list-style: none;
    margin-top: 24px;
}

.pa-services-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-grey);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--secondary-grey);
}

.pa-services-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* Community Section */
.community-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.community-image img {
    width: 100%;
    height: auto;
}

/* Tags */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tag {
    padding: 8px 16px;
    background: var(--bg-off-white);
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-size: 14px;
    color: var(--secondary-grey);
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Animation Keyframes */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-text h1 .line,
    .hero-subtitle,
    .trust-badge,
    .hero-cta {
        transform: none;
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .header-inner {
        padding: 0 24px;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 60px 24px;
    }

    .hero-visual {
        display: none;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-grid,
    .practice-grid,
    .attorneys-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .mission-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .header {
        height: 68px;
    }

    .hero {
        min-height: auto;
        padding-top: 68px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .why-choose-grid,
    .practice-grid,
    .attorneys-grid,
    .articles-grid,
    .partners-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-hero {
        min-height: 40vh;
        padding-top: 68px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .about-story {
        grid-template-columns: 1fr;
    }

    .story-images {
        grid-template-columns: 1fr;
    }

    .mission-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .testimonial-quote {
        font-size: 20px;
    }
}

/* Placeholder styles for missing images */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2a4a6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-gold);
    opacity: 0.7;
}

.pa-card-image .image-placeholder,
.attorney-card img[src*="missing"],
.article-card-image .image-placeholder,
.partner-card img[src*="missing"] {
    width: 100%;
    min-height: 200px;
}

.pa-detail-image .image-placeholder {
    min-height: 300px;
    border-radius: 8px;
}

.community-image .image-placeholder {
    min-height: 350px;
    border-radius: 8px;
}}
