/* Sample FAQ Section Styles - Accordion Style */
.sample-faq-section {
    margin: 60px auto 40px;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    max-width: 1000px;
}

.sample-faq-container h3 {
    text-align: center;
    color: #0073e6;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.sample-faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.sample-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.sample-faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease;
    background: rgba(0, 115, 230, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sample-faq-question:hover {
    color: #0073e6;
}

.sample-faq-question.active {
    color: #0073e6;
    border-bottom: 1px solid rgba(0, 115, 230, 0.1);
}

.sample-faq-icon {
    font-size: 1rem;
    color: #0073e6;
    transition: transform 0.3s ease;
}

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

.sample-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.sample-faq-answer.active {
    padding: 20px;
    max-height: 200px;
    opacity: 1;
}

.sample-faq-answer p {
    margin: 0;
}

/* Sample Reports Page Specific Styles */
.page-header {
    background: linear-gradient(135deg, #0073e6, #10b981);
    color: white;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    position: absolute;
    left: 20px;
}

.site-logo {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.site-logo:hover {
    opacity: 0.9;
}

.header-content {
    width: 100%;
    text-align: center;
}

.page-header h1 {
    font-size: 1.6rem;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.page-header p {
    font-size: 1rem;
    margin: 5px 0 0 0;
    color: white;
    line-height: 1.2;
}

.report-intro {
    max-width: 800px;
    margin: 30px auto 20px;
    text-align: center;
    padding: 0 20px;
}

.report-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.report-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.report-btn.active {
    background: #0073e6;
    color: white;
    border-color: #0073e6;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.2);
}

.report-btn:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-2px);
}

.report-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    /* Add padding at the bottom to account for the fixed bar */
    padding-bottom: 80px;
}

.report-section {
    display: block;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.report-section.active {
    display: block;
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    animation: fadeIn 0.5s ease forwards;
}

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

/* Fixed bottom navigation bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    transform: translateX(-5px);
}

/* Make results display without scrollable containers */
.results-container, .results-display, .results-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.section-container, .content-section {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Override any scrollable elements */
.scrollable-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        gap: 8px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .logo-container {
        position: static;
        margin-bottom: 10px;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }

    /* Hide paragraph on mobile */
    .page-header p {
        display: none;
    }

    .report-selector {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .report-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Critical CSS for faster LCP */
.hero-section, .main-content {
  contain: layout style paint;
}

/* Improve INP */
button, .interactive-element {
  touch-action: manipulation;
}

/* Reduce CLS */
img {
  aspect-ratio: attr(width) / attr(height);
}
