/* =============================================
 */
/* General Page & Section Styling                 */
/* =============================================
 */

body {
    background-color: #F8F9FA;
    /* Light grey background for all pages */
    color: #212529;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* =============================================
 */
/* Bootstrap 3 Compatibility & Fixes            */
/* =============================================
 */

/* Replicates Bootstrap 5's font-weight utilities */
.fw-bold {
    font-weight: bold !important;
}
.fw-normal {
    font-weight: normal !important;
}

/* Custom styling for job tags to match the design, as BS5 opacity classes don't exist */
.job-tag-custom {
    background-color: #e9ecef; /* A light grey matching the design */
    color: #495057;
    border: 1px solid #dee2e6;
}

/* Fix for Bootstrap 3's default negative margins on rows inside a container */
.container .row {
    margin-left: 0;
    margin-right: 0;
}
.page-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.page-section {
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

/* =============================================
 */
/* Card Components                              */
/* =============================================
 */

.info-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-card {
    text-align: center;
}

/* =============================================
 */
/* Button Components                            */
/* =============================================
 */

.btn-dark-main {
    background-color: #212529;
    border-color: #212529;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.375rem;
}

.btn-dark-main:hover {
    background-color: #343a40;
    border-color: #343a40;
    color: #ffffff;
}

/* =============================================
 */
/* Special Sections & Blocks                    */
/* =============================================
 */

.cta-section {
    border-radius: 0.75rem;
    padding: 3rem;
}

.cta-section.dark {
    background-color: #1c2a38;
    color: #ffffff;
}

.cta-section.danger {
    background-color: #e3404f;
    color: #ffffff;
}

.quote-block {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2.5rem;
    margin: 2rem auto;
    max-width: 800px;
}

.quote-block-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quote-block-author {
    font-size: 1rem;
    color: #6c757d;
}

.quote-block-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* =============================================
 */
/* Timeline (About Page)                        */
/* =============================================
 */

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #dee2e6;
    top: 10px;
    bottom: 10px;
    left: 48px;
}

.timeline-item {
    padding: 10px 40px 20px 90px;
    position: relative;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 10px;
    background-color: #212529;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 1;
}

.timeline-content h5 {
    font-weight: 600;
}

/* =============================================
 */
/* Job Listings (Careers Page)                  */
/* =============================================
 */

.job-listing-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    transition: border-color 0.2s ease;
}

.job-listing-card:hover {
    border-color: #adb5bd;
}

.job-listing-details h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.job-tags .badge {
    margin-right: 0.5rem;
    font-weight: 500;
}

/* =============================================
 */
/* News & Press Page                            */
/* =============================================
 */

.news-article-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-article-card .text-muted {
    font-size: 0.9rem;
}

/* =============================================
 */
/* FAQ Accordion (Help & Support Page)          */
/* =============================================
 */

.faq-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    background-color: #fff;
    color: #212529;
    border-radius: 0.75rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    box-shadow: none;
    background-color: #f8f9fa;
    color: #0d6efd;
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* =============================================
 */
/* Terms of Service & Privacy Policy            */
/* =============================================
 */

.legal-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    /* Adjust based on top nav height */
}

.legal-nav .nav-link {
    color: #6c757d;
    padding: 0.35rem 0;
    border-left: 2px solid transparent;
    padding-left: 1rem;
}

.legal-nav .nav-link:hover {
    color: #212529;
}

.legal-nav .nav-link.active {
    color: #212529;
    font-weight: 600;
    border-left: 2px solid #212529;
}

.legal-content-section {
    scroll-margin-top: 100px;
    /* Offset for scrollspy */
}

.legal-content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.legal-content-section:first-child h3 {
    border-top: none;
    padding-top: 0;
}

.legal-content-section ul li,
.legal-content-section ol li {
    margin-bottom: 0.5rem;
}

/* =============================================
 */
/* Custom Lists                                 */
/* =============================================
 */

.list-styled-accent ul {
    list-style: none;
    padding-left: 0;
}

.list-styled-accent li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.list-styled-accent li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e3404f;
    /* Accent color for dots */
    font-size: 1.5rem;
    line-height: 1.1;
}

/* =============================================
 */
/* Form Styling                                 */
/* =============================================
 */

.form-section-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2.5rem;
}

.form-section-card .form-label {
    font-weight: 500;
}