@font-face {
    font-family: 'LF Rubrik Web';
    src: url('fonts/LFRubrikWeb1VF.woff2') format('woff2'),
         url('fonts/LFRubrikWeb1VF.woff') format('woff'),
         url('fonts/LFRubrikWeb1VF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #292929;
}

/* Skip to main content link for accessibility */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0066B3;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
    opacity: 0;
    pointer-events: none;
}

.skip-to-main:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

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

/* Header */
.header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #005AA0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #0066B3;
}

/* Hero Section */
.hero {
    background-color: #F6FBFE;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-family: 'LF Rubrik Web', 'IBM Plex Sans', sans-serif;
    font-size: 54px;
    line-height: 1.2;
    color: #003d6b;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-description {
    font-size: 20px;
    color: #292929;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #292929;
}

.cta-button {
    background-color: #0066B3;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'IBM Plex Sans', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #004d87;
}

.cta-button:focus {
    outline: 3px solid #0066B3;
    outline-offset: 2px;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section Headings */
h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    color: #003d6b;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: white;
}

.process-section h2 {
    margin-bottom: 50px;
    text-align: left;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.process-step {
    text-align: left;
}

.step-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    overflow: visible;
    height: 80px;
    align-items: flex-start;
}

.step-icon svg {
    overflow: visible;
}

/* Check mark animation */
@keyframes check-draw-animation {
    0% { stroke-dashoffset: 32px; }
    100% { stroke-dashoffset: 0px; }
}

.check-animated {
    stroke-dasharray: 32 32;
    stroke-dashoffset: 0px;
}

.check-animated.animate {
    animation: 0.6s ease-in-out 1 forwards check-draw-animation;
}

/* Checkbox pencil animation */
@keyframes pencil-move-animation {
    0% { transform: translate(0, 0) rotate(0deg); }
    5% { transform: translate(-18px, -30px) rotate(-15deg); }
    15% { transform: translate(-28px, -24px) rotate(-5deg); }
    25% { transform: translate(-34px, -16px) rotate(5deg); }
    30% { transform: translate(-34px, -16px) rotate(5deg); }
    35% { transform: translate(-32px, -10px) rotate(0deg); }
    40% { transform: translate(-18px, 0px) rotate(-10deg); }
    50% { transform: translate(-28px, 10px) rotate(-5deg); }
    60% { transform: translate(-34px, 18px) rotate(5deg); }
    65% { transform: translate(-34px, 18px) rotate(5deg); }
    70% { transform: translate(-28px, 22px) rotate(0deg); }
    80% { transform: translate(-10px, 10px) rotate(-20deg); }
    90% { transform: translate(-3px, 2px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes checkmark-draw-top {
    0%, 5% { stroke-dashoffset: 50px; }
    9% { stroke-dashoffset: 45px; }
    13% { stroke-dashoffset: 40px; }
    17% { stroke-dashoffset: 35px; }
    21% { stroke-dashoffset: 28px; }
    25% { stroke-dashoffset: 20px; }
    29% { stroke-dashoffset: 12px; }
    33% { stroke-dashoffset: 5px; }
    37% { stroke-dashoffset: 0px; }
    100% { stroke-dashoffset: 0px; }
}

@keyframes checkmark-draw-bottom {
    0%, 40% { stroke-dashoffset: 50px; }
    44% { stroke-dashoffset: 45px; }
    48% { stroke-dashoffset: 40px; }
    52% { stroke-dashoffset: 35px; }
    56% { stroke-dashoffset: 28px; }
    60% { stroke-dashoffset: 20px; }
    64% { stroke-dashoffset: 12px; }
    68% { stroke-dashoffset: 5px; }
    72% { stroke-dashoffset: 0px; }
    100% { stroke-dashoffset: 0px; }
}

.pencil-group {
    transform-origin: 62px 44px;
}

.checkmark-top {
    stroke-dasharray: 50 50;
    stroke-dashoffset: 0px;
}

.checkmark-bottom {
    stroke-dasharray: 50 50;
    stroke-dashoffset: 0px;
}

#checkbox-step:hover .pencil-group {
    animation: pencil-move-animation 3.5s ease-in-out forwards;
}

#checkbox-step:hover .checkmark-top {
    animation: checkmark-draw-top 3.5s ease-in-out forwards;
}

#checkbox-step:hover .checkmark-bottom {
    animation: checkmark-draw-bottom 3.5s ease-in-out forwards;
}

/* Health icon animation */
@keyframes health-heartbeat-animation {
    0% { stroke-dashoffset: 66.4px; animation-timing-function: cubic-bezier(0.445,0.05,0.55,0.95); }
    76.9231% { stroke-dashoffset: 0px; }
    100% { stroke-dashoffset: 0px; }
}

.health-animated {
    stroke-dasharray: 66.4 66.4;
    stroke-dashoffset: 0px;
}

.health-animated.animate {
    animation: 1.3s ease-in-out 1 forwards health-heartbeat-animation;
}

.process-step:hover .step-icon .geotag-animated {
    animation-play-state: running !important;
}

/* Advice icon animations */
@keyframes advice-line-draw {
    0% {
        stroke-dashoffset: 30;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes advice-ray-draw {
    0% {
        stroke-dashoffset: 10;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.advice-line-1,
.advice-line-2,
.advice-line-3 {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
}

.advice-ray-1,
.advice-ray-2,
.advice-ray-3 {
    stroke-dasharray: 10;
    stroke-dashoffset: 10;
}

#health-step .advice-line-1.animate {
    animation: 0.5s ease-out 0.2s forwards advice-line-draw;
}

#health-step .advice-line-2.animate {
    animation: 0.5s ease-out 0.5s forwards advice-line-draw;
}

#health-step .advice-line-3.animate {
    animation: 0.5s ease-out 0.8s forwards advice-line-draw;
}

#health-step .advice-ray-1.animate {
    animation: 0.4s ease-out 1.2s forwards advice-ray-draw;
}

#health-step .advice-ray-2.animate {
    animation: 0.4s ease-out 1.45s forwards advice-ray-draw;
}

#health-step .advice-ray-3.animate {
    animation: 0.4s ease-out 1.7s forwards advice-ray-draw;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #00427A;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 18px;
    color: #292929;
    line-height: 1.6;
}

.info-box {
    background-color: #F6FBFE;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.info-box span {
    font-size: 18px;
    color: #292929;
}

.warning-box {
    background-color: #FFF5CC;
    border: 1px solid #EBBD00;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 670px;
    margin: 0 auto 60px;
}

.warning-box span {
    font-size: 18px;
    color: #292929;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.why-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #292929;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

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

.benefit-card {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.benefit-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #00427A;
    margin-bottom: 12px;
    display: inline-block;
    vertical-align: middle;
}

.benefit-card p {
    font-size: 18px;
    color: #292929;
    line-height: 1.7;
}

/* Tests Section */
.tests-section {
    padding: 80px 0;
    background-color: white;
}

.tests-section h2 {
    margin-bottom: 20px;
}

.tests-section .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.tests-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

/* Accordion */
.tests-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #003d6b;
    text-align: left;
    transition: all 0.3s;
}

.accordion-header:hover {
    color: #0066B3;
}

.accordion-header:focus {
    outline: 3px solid #0066B3;
    outline-offset: 2px;
}

.check-icon {
    flex-shrink: 0;
}

.accordion-header span {
    flex: 1;
}

.chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 0 30px 35px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Content Styling */
.accordion-content p {
    font-size: 18px;
    color: #292929;
    line-height: 1.8;
    margin-bottom: 30px;
}

.test-markers {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.marker {
    font-size: 18px;
    font-weight: 600;
    color: #E63946;
}

/* Tests Info */
.info-card {
    background-color: #E3F4FC;
    padding: 40px;
    border-radius: 8px;
    height: fit-content;
}

.info-card h3 {
    font-family: 'LF Rubrik Web', 'IBM Plex Sans', sans-serif;
    font-size: 26px;
    color: #00427A;
    margin-bottom: 30px;
    font-weight: 400;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #00427A;
    margin-bottom: 10px;
}

.info-item p {
    font-size: 18px;
    color: #292929;
    line-height: 1.7;
}

.info-note {
    font-size: 18px;
    color: #292929;
    margin-top: 8px;
}

.info-item p.info-price {
    font-size: 26px;
    color: #E40523;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #D6D6D6;
}

.price-item h4 {
    font-size: 22px;
    font-weight: 600;
    color: #00427A;
}

.price-note {
    font-size: 18px;
    color: #292929;
}

/* Report Examples - Slideshow */
.report-examples {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

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

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    border: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev:focus, .next:focus {
    outline: 3px solid #0066B3;
    outline-offset: 2px;
}

/* Dots indicators */
.dots-container {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: none;
    padding: 0;
}

.dot.active, .dot:hover {
    background-color: #00427A;
}

.dot:focus {
    outline: 3px solid #0066B3;
    outline-offset: 2px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

.faq-section h2 {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.faq-item {
    border: 1px solid #d0d8e0;
}

.faq-header {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #003d6b;
    text-align: left;
    transition: color 0.2s;
}

.faq-header:hover {
    color: #0066B3;
}

.faq-header:focus {
    outline: 3px solid #0066B3;
    outline-offset: 2px;
}

.faq-header .chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-header .chevron {
    transform: rotate(180deg);
}

.faq-content {
    display: none;
    border-top: 1px solid #003d6b;
    padding: 20px 24px 24px;
    animation: slideDown 0.3s ease-out;
}

.faq-content p {
    font-size: 18px;
    color: #292929;
    line-height: 1.7;
}

.faq-content a {
    color: #0066B3;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #003d6b;
    color: white;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-section a {
    color: white;
    text-decoration: underline;
}

.contact-section a:focus {
    outline: 3px solid white;
    outline-offset: 2px;
}

/* Footer */
.footer {
    background-color: #001B33;
    padding: 40px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Large screens - keep step headlines on one row */
@media (min-width: 1200px) {
    .process-steps {
        gap: 40px;
    }

    .process-step h3 {
        white-space: nowrap;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

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

    .tests-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links,
    .footer-menu {
        flex-direction: column;
        width: 100%;
    }
}
