/* Test-centre content sections (home, test day, FAQ) */

.tc-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3355ff;
    margin-bottom: 10px;
}

.tc-lead {
    max-width: 720px;
    margin: 16px auto 0;
    color: #666666;
    font-size: 16px;
}

/* Hero buttons */
.hero-caption-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}
.hero-caption-actions .hero-caption-btn {
    margin-top: 0;
}
.btn-outline-white {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}
.btn-outline-white:hover {
    background: #FFFFFF;
    color: #031f42;
}

/* Steps: how booking works */
.tc-steps {
    counter-reset: tc-step;
}
.tc-step {
    position: relative;
    height: 100%;
    padding: 34px 26px 28px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 8px 30px rgba(3, 31, 66, 0.08);
}
.tc-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #3355ff;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
}
.tc-step__title {
    font-size: 18px;
    margin-bottom: 10px;
}
.tc-step p {
    color: #666666;
    margin: 0;
}

/* Feature cards: why test with us */
.tc-feature {
    display: flex;
    gap: 18px;
    height: 100%;
    padding: 26px;
    border: 1px solid #e7e9f2;
    border-radius: 10px;
    background: #FFFFFF;
}
.tc-feature__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(51, 85, 255, 0.1);
    color: #3355ff;
    font-size: 20px;
}
.tc-feature__title {
    font-size: 17px;
    margin-bottom: 6px;
}
.tc-feature p {
    color: #666666;
    margin: 0;
}

/* Checklist */
.tc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tc-checklist li {
    position: relative;
    padding: 0 0 12px 32px;
}
.tc-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3355ff;
    color: #FFFFFF;
    font-size: 11px;
    line-height: 22px;
    text-align: center;
}
.tc-checklist--no li::before {
    content: "\f00d";
    background: #F44336;
}

/* Callout panel */
.tc-panel {
    height: 100%;
    padding: 34px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 8px 30px rgba(3, 31, 66, 0.08);
}
.tc-panel__title {
    font-size: 20px;
    margin-bottom: 18px;
}
.tc-panel--dark {
    background: #031f42;
    color: #d6dcef;
}
.tc-panel--dark .tc-panel__title {
    color: #FFFFFF;
}

.tc-note {
    padding: 18px 22px;
    border-left: 4px solid #ffc221;
    border-radius: 6px;
    background: #fff8e6;
    color: #4a3b0b;
}

/* Test day page sections */
.tc-guide-block {
    padding: 34px 0;
    border-bottom: 1px solid #e7e9f2;
}
.tc-guide-block:last-child {
    border-bottom: 0;
}
.tc-guide-block__title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    margin-bottom: 16px;
}
.tc-guide-block__title i {
    color: #3355ff;
}
.tc-guide-block p {
    color: #555555;
}

.tc-toc {
    position: sticky;
    top: 180px;
    padding: 24px;
    border-radius: 10px;
    background: #f8f8f8;
}
.tc-toc h4 {
    font-size: 16px;
    margin-bottom: 12px;
}
.tc-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tc-toc li a {
    display: block;
    padding: 6px 0;
    color: #555555;
}
.tc-toc li a:hover {
    color: #3355ff;
}

/* FAQ accordion */
.tc-faq .accordion-item {
    margin-bottom: 12px;
    border: 1px solid #e7e9f2;
    border-radius: 8px;
    overflow: hidden;
}
.tc-faq .accordion-button {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    background: #FFFFFF;
    box-shadow: none;
}
.tc-faq .accordion-button:not(.collapsed) {
    color: #3355ff;
    background: #f4f6ff;
}
.tc-faq .accordion-body {
    color: #555555;
}

/* Inner page banner without a background image */
.tc-banner-title {
    margin-top: 10px;
    font-size: 40px;
}
@media (max-width: 767px) {
    .tc-banner-title {
        font-size: 28px;
    }
    .tc-panel {
        padding: 24px;
    }
}

/* Hero text must fit the short mobile banner */
@media (max-width: 767px) {
    .hero-caption-wrapper {
        padding: 0 16px;
    }
    .hero-caption-sub-title {
        display: none;
    }
    .hero-caption-main-title {
        font-size: 22px;
        white-space: normal;
    }
    .hero-caption-actions {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 14px;
    }
    .hero-caption-actions .hero-caption-btn {
        padding: 0 14px;
        height: 38px;
        line-height: 34px;
        font-size: 13px;
    }
}

/* Footer links: the theme sets nowrap, so long partner names ("psi Testing Excellence")
   ran past the screen edge on 320px phones. Let them wrap. */
.footer-widget__link li a {
    white-space: normal;
}

/* Breadcrumb links were 23px tall; give them a comfortable touch target. */
.breadcrumb-item a {
    display: inline-block;
    padding: 4px 0;
}
