@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --teal: #00BCD4;
    --teal-light: #33C9DB;
    --teal-dark: #0097A7;
    --light-grey: #6C7A89;
    --dark-grey: #3E4B59;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --muted-grey: #D3D3D3;
    --shadow-sm: 0 2px 8px rgba(62, 75, 89, 0.08);
    --shadow-md: 0 4px 16px rgba(62, 75, 89, 0.12);
    --shadow-lg: 0 8px 32px rgba(62, 75, 89, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

ul {
    list-style: none;
}

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    transition: all 0.4s ease;
    background: transparent;
}

.header.scrolled {
    background: var(--off-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--muted-grey);
}

.header .logo img {
    height: 40px;
    width: auto;
}

.header .nav-links {
    display: flex;
    gap: 32px;
}

.header .nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 4px 0;
}

.header.scrolled .nav-links a {
    color: var(--dark-grey);
}

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

.header .nav-links a:hover::after,
.header .nav-links a.active::after {
    width: 100%;
}

.header .nav-links a:hover,
.header .nav-links a.active {
    color: var(--teal);
}

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

.header .phone-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.header.scrolled .phone-number {
    color: var(--dark-grey);
}

.header .social-icons {
    display: flex;
    gap: 12px;
}

.header .social-icons a {
    color: var(--white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.header.scrolled .social-icons a {
    color: var(--dark-grey);
}

.header .social-icons a:hover {
    color: var(--teal);
    background: rgba(0, 188, 212, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--teal);
    border: 2px solid var(--teal);
}

.btn-secondary:hover {
    background: var(--teal);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--dark-grey);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(62, 75, 89, 0.95);
    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 a {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--teal);
}

.mobile-menu .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 32px;
    color: var(--white);
    cursor: pointer;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-grey);
    padding: 12px 20px;
    z-index: 998;
    justify-content: space-around;
}

.mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
}

.mobile-bottom-bar .phone-btn svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-grey) 0%, var(--light-grey) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-desktop.png') center/cover no-repeat;
    opacity: 0.3;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 48px;
}

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

.hero h1 .typewriter {
    display: inline-block;
    border-right: 3px solid var(--teal);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { border-color: var(--teal); }
    50% { border-color: transparent; }
}

.hero h1 .highlight {
    color: var(--teal);
    display: block;
}

.hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

.section-header h2 {
    color: var(--dark-grey);
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--teal);
}

.section-header p {
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto;
}

/* Problem/Solution Section */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.problem-solution .problem,
.problem-solution .solution {
    padding: 60px;
}

.problem-solution .problem {
    background: var(--off-white);
}

.problem-solution h3 {
    color: var(--teal);
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.problem-solution ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--dark-grey);
}

.problem-solution ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--teal);
    border-radius: 50%;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--teal);
}

.feature-card h4 {
    color: var(--dark-grey);
    margin-bottom: 12px;
}

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

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

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

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

.service-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 188, 212, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .card-image::after {
    opacity: 1;
}

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

.service-card h4 {
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--light-grey);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Attorney Preview */
.attorneys-preview {
    background: var(--off-white);
}

.attorney-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px;
}

.attorney-card {
    display: flex;
    gap: 32px;
    align-items: center;
}

.attorney-card .attorney-image {
    width: 200px;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.attorney-card .attorney-info h4 {
    color: var(--teal);
    margin-bottom: 4px;
}

.attorney-card .attorney-info .title {
    color: var(--light-grey);
    font-size: 14px;
    margin-bottom: 16px;
}

.attorney-card .attorney-info .quote {
    color: var(--dark-grey);
    font-style: italic;
    line-height: 1.7;
}

/* Testimonials Carousel */
.testimonials {
    background: var(--dark-grey);
    position: relative;
    overflow: hidden;
}

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

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--white);
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.5s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.testimonial-slide .stars {
    color: var(--teal);
    margin-bottom: 16px;
    font-size: 20px;
}

.testimonial-slide blockquote {
    font-size: 1.25rem;
    color: var(--dark-grey);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-slide cite {
    color: var(--teal);
    font-weight: 600;
    font-style: normal;
}

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

.carousel-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    background: var(--teal);
    border-color: var(--teal);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

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

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step .step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: var(--dark-grey);
    margin-bottom: 8px;
}

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

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--teal) 0%, var(--dark-grey) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-block p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block .btn-primary {
    background: var(--white);
    color: var(--teal);
}

.cta-block .btn-primary:hover {
    background: var(--off-white);
    transform: translateY(-2px);
}

.cta-block .btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-block .btn-secondary:hover {
    background: var(--white);
    color: var(--teal);
}

/* Footer */
.footer {
    background: var(--dark-grey);
    color: var(--light-grey);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col .logo-section .logo {
    margin-bottom: 16px;
}

.footer-col .logo-section .logo img {
    height: 50px;
}

.footer-col .logo-section .tagline {
    color: var(--teal);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-col .social-links {
    display: flex;
    gap: 12px;
}

.footer-col .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-col .social-links a:hover {
    background: var(--teal);
}

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

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--teal);
}

.footer-col .contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-col .contact-info svg {
    width: 18px;
    height: 18px;
    stroke: var(--teal);
}

.footer-bottom {
    border-top: 1px solid var(--muted-grey);
    margin-top: 48px;
    padding: 24px 48px;
    text-align: center;
    font-size: 14px;
}

/* Page Hero */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--dark-grey);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(62, 75, 89, 0.9), rgba(0, 188, 212, 0.3));
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 48px 80px;
}

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

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* About Page */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

.mission-vision .block {
    padding: 40px;
    border-left: 4px solid var(--teal);
}

.mission-vision h3 {
    color: var(--teal);
    margin-bottom: 16px;
}

.mission-vision p {
    color: var(--dark-grey);
    line-height: 1.8;
}

/* Firm History Timeline */
.firm-history {
    background: var(--off-white);
    padding: 80px 48px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--teal);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item .content {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    max-width: 400px;
    margin: 0 32px;
    position: relative;
}

.timeline-item .year {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.timeline-item:nth-child(odd) .year {
    right: -40px;
}

.timeline-item:nth-child(even) .year {
    left: -40px;
}

.timeline-item h4 {
    margin-bottom: 12px;
    color: var(--dark-grey);
}

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

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

.value-card {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.value-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card .icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--teal);
}

.value-card h4 {
    color: var(--dark-grey);
    margin-bottom: 8px;
}

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

/* Attorney Profiles */
.attorney-profiles {
    padding: 80px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: center;
}

.profile-card .profile-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.profile-card h3 {
    color: var(--teal);
    margin-bottom: 4px;
}

.profile-card .title {
    color: var(--light-grey);
    margin-bottom: 20px;
}

.profile-card .bio {
    color: var(--dark-grey);
    line-height: 1.8;
}

/* Awards Section */
.awards {
    background: var(--off-white);
    padding: 80px 48px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.award-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.award-item .badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
}

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

/* Services Page */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

.service-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-item:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.service-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--dark-grey);
    transition: var(--transition);
}

.service-item:hover .icon svg {
    stroke: var(--teal);
}

.service-item h4 {
    color: var(--dark-grey);
    margin-bottom: 8px;
}

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

/* Service Detail Sections */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.service-detail .image-side {
    height: 500px;
    overflow: hidden;
}

.service-detail .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail .content-side {
    padding: 80px;
    background: var(--off-white);
}

.service-detail h3 {
    color: var(--dark-grey);
    margin-bottom: 16px;
}

.service-detail > .content-side {
    background: var(--white);
}

.service-detail .subservices {
    margin: 24px 0;
}

.service-detail .subservices li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.service-detail .subservices li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

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

.faq-item {
    background: var(--off-white);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-item .question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-grey);
    transition: var(--transition);
}

.faq-item .question:hover {
    color: var(--teal);
}

.faq-item .question .icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

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

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

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

.faq-item .answer p {
    padding: 0 24px 24px;
    color: var(--light-grey);
    line-height: 1.7;
}

/* Reviews Page */
.reviews-satisfaction {
    background: var(--off-white);
    padding: 80px 48px;
    text-align: center;
}

.stat-box {
    max-width: 700px;
    margin: 0 auto;
}

.stat-box h2 {
    margin-bottom: 16px;
}

.stat-box .stat {
    font-size: 4rem;
    font-weight: 700;
    color: var(--teal);
    display: block;
    margin: 24px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px;
}

.review-card {
    background: var(--off-white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--muted-grey);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
}

.review-card .quote-mark {
    font-size: 48px;
    color: var(--teal);
    line-height: 1;
    opacity: 0.5;
}

.review-card blockquote {
    color: var(--dark-grey);
    line-height: 1.7;
    margin: 16px 0;
    font-style: italic;
}

.review-card .author {
    color: var(--teal);
    font-weight: 600;
}

.review-card .stars {
    color: var(--teal);
    margin-top: 12px;
}

/* Reviews CTA Section */
.reviews-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.reviews-cta .cta-left {
    background: var(--teal);
    padding: 80px;
    text-align: center;
    color: var(--white);
}

.reviews-cta .cta-right {
    background: var(--dark-grey);
    padding: 80px;
    text-align: center;
    color: var(--white);
}

.reviews-cta h3 {
    margin-bottom: 24px;
}

/* Contact Page */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-form {
    padding: 80px;
    background: var(--white);
}

.contact-form h3 {
    margin-bottom: 32px;
    color: var(--dark-grey);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--muted-grey);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
}

.contact-info {
    padding: 80px;
    background: var(--off-white);
}

.contact-info h3 {
    margin-bottom: 32px;
    color: var(--dark-grey);
}

.contact-info .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-info .info-item .icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info .info-item .icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal);
}

.contact-info .info-item h4 {
    color: var(--dark-grey);
    margin-bottom: 4px;
    font-size: 16px;
}

.contact-info .info-item p {
    color: var(--light-grey);
    font-size: 14px;
}

/* Map Section */
.map-section {
    padding: 80px 48px;
    text-align: center;
}

.map-placeholder {
    max-width: 1000px;
    height: 400px;
    margin: 0 auto 32px;
    background: var(--off-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-grey);
}

/* Callback Section */
.callback-section {
    background: var(--off-white);
    padding: 80px 48px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.callback-section h3 {
    margin-bottom: 16px;
}

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

/* Urgent Section */
.urgent-section {
    background: var(--dark-grey);
    padding: 60px 48px;
    text-align: center;
    color: var(--white);
}

.urgent-section h3 {
    color: var(--teal);
    margin-bottom: 16px;
}

.urgent-section p {
    margin-bottom: 16px;
}

.urgent-section .phone-urgent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    animation: pulse 2s infinite;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 12px;
    margin-top: 24px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-success .check-icon {
    width: 60px;
    height: 60px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 24px;
}

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

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

/* Custom Cursor */
.custom-cursor {
    display: none;
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(0, 188, 212, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* Loading Bar */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--teal);
    z-index: 10000;
    width: 0;
    transition: width 0.3s ease;
}

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

    .header .nav-links,
    .header .phone-number {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .hero-content {
        padding: 120px 24px 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-cards,
    .service-cards,
    .attorney-cards {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

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

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

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item .year,
    .timeline-item:nth-child(odd) .year,
    .timeline-item:nth-child(even) .year {
        left: -20px;
        right: auto;
    }

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

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

    .service-detail {
        grid-template-columns: 1fr;
    }

    .service-detail .image-side {
        height: 300px;
    }

    .service-detail .content-side {
        padding: 40px 24px;
    }

    .reviews-cta {
        grid-template-columns: 1fr;
    }

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

    .contact-form,
    .contact-info {
        padding: 40px 24px;
    }

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

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

    .header .logo img {
        height: 30px;
    }

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

    .hero .hero-buttons {
        flex-direction: column;
    }

    .hero .hero-buttons .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .problem-solution {
        grid-template-columns: 1fr;
    }

    .problem-solution .problem,
    .problem-solution .solution {
        padding: 40px 24px;
    }

    .feature-cards,
    .service-cards,
    .values-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

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

    .attorney-card {
        flex-direction: column;
        text-align: center;
    }

    .attorney-card .attorney-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }

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

    .mission-vision {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }

    .firm-history,
    .faq-section,
    .map-section,
    .callback-section,
    .urgent-section {
        padding: 40px 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .footer-bottom {
        padding: 24px;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .testimonial-slide {
        padding: 24px;
    }

    .testimonial-slide blockquote {
        font-size: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .feature-card {
        opacity: 1;
        transform: none;
    }

    .custom-cursor,
    .cursor-trail {
        display: none !important;
    }
}
