/* Use Case Page Specific Styles */

/* Glassmorphic Breadcrumb */
.breadcrumb-glass {
    position: absolute;
    top: -90px; /* Positioned at the very top */
    left: 0;
    right: 0;
    z-index: 100; /* Higher z-index to ensure it's above background */
    padding: 0;
}

.breadcrumb-glass .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem; /* Match header container padding */
    display: flex;
    align-items: flex-start;
}

.breadcrumb-glass .breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px; /* Much less rounded */
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.breadcrumb-content a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.breadcrumb-content a:hover {
    color: var(--primary-blue);
    background: rgba(47, 107, 255, 0.08);
}

.breadcrumb-content i {
    width: 14px;
    height: 14px;
    color: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    margin: 0 0.25rem;
}

.breadcrumb-content span {
    color: rgba(0, 0, 0, 0.85);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

/* Mobile adjustments for breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-glass {
        top: -80px; /* Positioned higher on mobile */
    }
    
    .breadcrumb-glass .container {
        padding: 0 1.5rem; /* Match mobile container padding */
    }
    
    .breadcrumb-glass .breadcrumb-content {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
    }
    
    .breadcrumb-glass .breadcrumb-content::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb-content a,
    .breadcrumb-content span {
        padding: 0.2rem 0.5rem;
        white-space: nowrap;
    }
    
    .breadcrumb-content i {
        width: 12px;
        height: 12px;
        margin: 0 0.15rem;
    }
}

/* Solution Overview Section */
.solution-overview-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.solution-overview-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-overview-content h2 {
    color: var(--black);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.solution-overview-content .section-intro {
    font-size: 1.125rem;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-highlight {
    display: flex;
    text-align: left;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-content h3 {
    color: var(--black);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--dark-grey);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .solution-overview-content h2 {
        font-size: 1.875rem;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-highlight {
        flex-direction: column;
        text-align: center;
    }
}

/* Use Case Hero */
.use-case-hero {
    padding: 4rem 0 0; /* Reduced from var(--space-12) */
    margin-top: 72px; /* Account for fixed navbar */
    position: relative;
    overflow: visible; /* Changed to visible so glass effect works */
    margin-bottom: -100px; /* Allow smooth overlap into next section */
    min-height: 400px; /* Reduced from 500px */
}

/* Hero Background Layers */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Multi-layered SVG backgrounds */
.hero-svg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Layer 1: Flowing Wave Patterns */
.hero-svg-layer.layer-1 {
    opacity: 0.8;
    animation: gentle-flow 30s ease-in-out infinite;
}

/* Layer 2: Subtle Flow Lines */
.hero-svg-layer.layer-2 {
    opacity: 0.6;
    animation: flow-drift 25s linear infinite;
}

/* Layer 3: Minimal Accent Elements */
.hero-svg-layer.layer-3 {
    opacity: 0.4;
    animation: soft-float 20s ease-in-out infinite;
}

/* Layer 4: Texture Pattern */
.hero-svg-layer.layer-4 {
    opacity: 0.2;
}

/* Sophisticated Color Themes - Vibrant Complementary Palette */
.use-case-hero.proposals {
    --accent-color: #10B981; /* Emerald green - strategic/growth */
    --secondary-accent: #F59E0B; /* Amber - highlights/important */
    --tertiary-accent: #8B5CF6; /* Purple - innovation */
}

.use-case-hero.invoices {
    --accent-color: #EF4444; /* Red - urgency/financial */
    --secondary-accent: #F97316; /* Orange - energy/processing */
    --tertiary-accent: #84CC16; /* Lime - success/automation */
}

.use-case-hero.compliance {
    --accent-color: #059669; /* Green - safety/compliance */
    --secondary-accent: #DC2626; /* Red - alerts/risks */
    --tertiary-accent: #0891B2; /* Cyan - trust/verification */
    background: linear-gradient(180deg, var(--gradient-end) 0%, var(--white) 30%, var(--white) 100%);
}

.use-case-hero.analysis {
    --accent-color: #7C3AED; /* Purple - insight/analysis */
    --secondary-accent: #06B6D4; /* Cyan - data/technology */
    --tertiary-accent: #F59E0B; /* Amber - discovery/results */
}

.use-case-hero.vendors {
    --accent-color: #F97316; /* Orange - collaboration/vendors */
    --secondary-accent: #10B981; /* Green - approval/success */
    --tertiary-accent: #6366F1; /* Indigo - professionalism */
}

.use-case-hero.contracts {
    --accent-color: #DC2626; /* Red - importance/legal */
    --secondary-accent: #059669; /* Green - approval/terms */
    --tertiary-accent: #7C3AED; /* Purple - sophistication */
}

/* Hero Wave Transition */
.hero-wave-wrapper {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 120px;
    line-height: 0;
    overflow: hidden;
    z-index: 6;
    pointer-events: none;
}

.hero-wave-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* WCAG-Compliant Subtle Animations */
@keyframes gentle-flow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -15px);
    }
}

@keyframes flow-drift {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(30px);
    }
}

@keyframes soft-float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -8px);
    }
}

.use-case-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-6);
    border-radius: 20px;
    margin-top: 0; /* No extra space needed */
    border: 1px solid #2F6BFF;
}

.use-case-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    padding: 20px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon-large i {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
}

.use-case-title {
    margin-bottom: var(--space-2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.use-case-subtitle-heading {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: var(--space-4);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.use-case-subtitle {
    font-size: 1.25rem;
    color: var(--dark-grey);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--dark-grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Problem Section */
.use-case-problem {
    padding: calc(var(--space-10) + 100px) 0 var(--space-10);
    background: linear-gradient(180deg, var(--gradient-end) 0%, var(--white) 30%, var(--white) 100%);
    position: relative;
    z-index: 1;
}

.problem-content h2 {
    text-align: center;
    margin-bottom: var(--space-3);
}

.problem-intro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
    color: var(--dark-grey);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.problem-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: var(--space-4);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.6);
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.problem-icon i {
    width: 24px;
    height: 24px;
    color: #DC2626;
}

.problem-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
    color: var(--black);
}

.problem-item p {
    color: var(--dark-grey);
    line-height: 1.6;
}

/* Solution Section */
.use-case-solution {
    padding: var(--space-12) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-grey) 20%, var(--light-grey) 80%, var(--white) 100%);
}

.use-case-solution h2 {
    text-align: center;
    margin-bottom: var(--space-3);
}

.solution-intro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-8);
    color: var(--dark-grey);
}

/* Solution Flow */
.solution-flow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .solution-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

.flow-step {
    background: white;
    padding: var(--space-4);
    border-radius: 12px;
    text-align: center;
    width: 200px;
    min-height: 295px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.flow-step:hover {
    transform: translateY(-4px);
}

.flow-number {
    width: 44px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto var(--space-2);
}

.flow-step h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    font-weight: 600;
    line-height: 1.3;
}

.flow-step p {
    font-size: 0.875rem;
    color: var(--dark-grey);
    line-height: 1.4;
    flex: 1;
}

.flow-arrow {
    color: var(--primary-blue);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.flow-arrow i {
    width: 24px;
    height: 24px;
}

/* Solution Features */
.solution-features {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.solution-features h3 {
    text-align: center;
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-3);
}

.feature-item i {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    margin-top: 4px;
    flex-shrink: 0;
}

.feature-item div {
    flex: 1;
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--black);
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--dark-grey);
    line-height: 1.6;
}

/* Examples Section */
.use-case-examples {
    padding: var(--space-10) 0;
    background: var(--white);
}

.use-case-examples h2 {
    text-align: center;
    margin-bottom: var(--space-3);
}

.examples-intro {
    font-size: 1.125rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-8);
    color: var(--dark-grey);
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .examples-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.example-card {
    background: white;
    border: 1px solid var(--medium-grey);
    border-radius: 16px;
    padding: var(--space-4);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.example-header h3 {
    font-size: 1.125rem;
    color: var(--black);
}

.example-tag {
    background: var(--gradient-start);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.example-content p {
    margin-bottom: var(--space-2);
    font-size: 0.875rem;
    line-height: 1.6;
}

.example-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.metric-item {
    background: var(--light-grey);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark-grey);
}

/* Benefits Section */
.benefits-section {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-grey) 30%, var(--light-grey) 100%);
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: var(--space-8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    background: white;
    padding: var(--space-4);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-start);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.benefit-icon i {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--dark-grey);
    line-height: 1.6;
}

/* Use Case CTA */
.use-case-cta {
    padding: var(--space-12) 0;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
    color: white;
    text-align: center;
    position: relative;
}

.use-case-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-3);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--space-5);
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

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

.use-case-cta .btn-primary:hover {
    background: var(--light-grey);
}

.use-case-cta .btn-secondary {
    border-color: white;
    color: white;
}

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

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: var(--space-4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Related Use Cases */
.related-cases {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, var(--light-grey) 0%, var(--white) 30%, var(--white) 100%);
}

.related-cases h2 {
    text-align: center;
    margin-bottom: var(--space-6);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-card {
    background: var(--light-grey);
    padding: var(--space-4);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.related-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
}

.related-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.related-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    color: var(--black);
}

.related-card p {
    font-size: 0.875rem;
    color: var(--dark-grey);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Prevent horizontal overflow on use case pages */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-stats {
        gap: var(--space-4);
    }
    
    /* Ensure SVG elements don't cause overflow */
    .hero-svg-layer,
    .hero-wave-svg {
        max-width: 100%;
        width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile hero optimizations */
    .hero-svg-layer.layer-1 {
        animation-duration: 25s;
    }
    
    .hero-svg-layer.layer-2 {
        animation-duration: 20s;
    }
    
    .hero-svg-layer.layer-3 {
        animation-duration: 15s;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .hero-svg-layer {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-svg-layer.layer-4 pattern path {
        stroke: rgba(255, 255, 255, 0.1);
    }
}

/* FAQ Section */
.faq-section {
    padding: var(--space-16) 0;
    background: var(--off-white);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--black);
}

.faq-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--dark-grey);
    margin-bottom: var(--space-10);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question i {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

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

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-grey);
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

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

/* FAQ Mobile Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--space-10) 0;
    }
    
    .faq-intro {
        font-size: 1rem;
        margin-bottom: var(--space-6);
        padding: 0 1rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }
    
    .faq-question i {
        width: 20px;
        height: 20px;
        margin-left: 0.75rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .faq-item.active .faq-answer {
        max-height: 800px; /* More height for mobile text wrapping */
    }
}