/* =====================================================
   Applied Predictive Analytics (APA) - Main Stylesheet
   Rebranded in Phase 1 to the APA navy/teal/amber system.
   Canonical brand tokens live in css/brand.css.
   The :root block below remaps the legacy color variables
   that this file still references (--blue, --off-black,
   --muted-red, etc.) onto the APA tokens so every existing
   rule inherits the new brand automatically.
   ===================================================== */

/* =====================================================
   CSS Custom Properties — legacy tokens remapped onto
   the APA brand system defined in css/brand.css.
   ===================================================== */

:root {
    /* Legacy brand tokens — now aliases onto the APA system */
    --red: var(--apa-teal);
    --blue: var(--apa-teal-deep);
    --off-white: var(--apa-near-white);
    --off-black: var(--apa-navy);
    --peachy: var(--apa-teal-deep);
    --grey: var(--apa-label);
    --muted-red: var(--apa-teal);
    --light-blue: var(--apa-teal);

    /* Semantic mappings — also aliased */
    --primary-color: var(--apa-teal-deep);
    --accent-color: var(--apa-teal);
    --text-color: var(--apa-navy);
    --background-color: var(--apa-near-white);
    --highlight-color: #ffffff;
    --light-gray: var(--apa-near-white);
    --medium-gray: #e9ecef;
    --dark-gray: var(--apa-navy);

    /* Typography — DM Sans for body / UI, DM Serif Display for headings */
    --body-font: var(--apa-font-sans);
    --heading-font: var(--apa-font-serif);
}

/* =====================================================
   Base Styles
   ===================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--off-white);
    margin: 0;
    padding: 0;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display headings: DM Serif Display (ships a single 400 weight) */
h1, h2, .display-4, .display-5, .display-6 {
    font-family: var(--apa-font-serif);
    font-weight: 400;
    letter-spacing: var(--apa-tracking-display);
    margin-top: 0;
    color: var(--apa-navy);
    line-height: var(--apa-leading-tight);
}

/* Subheads and UI headings: DM Sans semibold */
h3, h4, h5, h6 {
    font-family: var(--apa-font-sans);
    font-weight: 600;
    letter-spacing: var(--apa-tracking-heading);
    margin-top: 0;
    color: var(--apa-navy);
    line-height: var(--apa-leading-snug);
}

/* Bootstrap's fw-bold utility renders as 700; override to 400 for serif headings */
h1.fw-bold, h2.fw-bold,
.display-4.fw-bold, .display-5.fw-bold, .display-6.fw-bold {
    font-weight: 400;
}

p {
    color: var(--off-black);
}

a {
    color: var(--blue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--apa-navy);
}

/* =====================================================
   Layout Components
   ===================================================== */

.container {
    max-width: 1200px;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--off-white);
}

.section-white {
    background-color: #ffffff;
}

/* =====================================================
   Bootstrap Overrides
   ===================================================== */

.bg-primary {
    background-color: var(--blue) !important;
}

.text-primary {
    color: var(--blue) !important;
}

.bg-dark {
    background-color: var(--off-black) !important;
}

/* =====================================================
   Buttons
   ===================================================== */

.btn {
    border-radius: 4px;
    font-family: var(--body-font);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--apa-teal) !important;
    border-color: var(--apa-teal) !important;
    color: var(--apa-navy) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--apa-teal-deep) !important;
    border-color: var(--apa-teal-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(85, 204, 221, 0.35);
    color: #fff !important;
}

.btn-secondary {
    background-color: var(--apa-navy) !important;
    border-color: var(--apa-navy) !important;
    color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--apa-navy-700) !important;
    border-color: var(--apa-navy-700) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.35);
    color: #fff;
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--apa-teal-deep) !important;
    color: var(--apa-teal-deep);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--apa-teal-deep);
    border-color: var(--apa-teal-deep);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--off-black);
}

.btn:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* =====================================================
   Forms
   ===================================================== */

.form-control,
.form-select {
    border-radius: 4px;
    border: 1px solid #d1cfce;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--body-font);
    transition: all 0.2s ease;
    background-color: #fff;
    color: var(--off-black);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 119, 167, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--off-black);
    font-size: 0.9rem;
}

textarea.form-control {
    resize: vertical;
}

/* =====================================================
   Cards
   ===================================================== */

.card {
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 12px rgba(53, 53, 53, 0.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(53, 53, 53, 0.12);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(53, 53, 53, 0.05);
    color: var(--off-black);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* =====================================================
   Navigation
   ===================================================== */

.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    background-color: #fff !important;
    border-bottom: 1px solid rgba(53, 53, 53, 0.08);
}

.navbar-brand {
    font-family: var(--apa-font-wordmark);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--apa-navy) !important;
}

/* Accent half of the navbar wordmark ("All Precision" span) */
.navbar-brand .text-primary {
    color: var(--apa-teal-deep) !important;
}

/* Footer wordmark: DM Serif Display + teal accent span */
footer h5 {
    font-family: var(--apa-font-wordmark);
    font-weight: 400;
    letter-spacing: -0.02em;
    font-size: 1.5rem;
}

footer h5 span[style*="color"] {
    color: var(--apa-teal) !important;
}

.navbar-brand img {
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    color: var(--off-black) !important;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--blue) !important;
}

.nav-link.active {
    color: var(--blue) !important;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 16px rgba(53, 53, 53, 0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: #fff;
}

.dropdown-item {
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    color: var(--off-black);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(26, 119, 167, 0.08);
    color: var(--blue);
    padding-left: 1.5rem;
}

.dropdown-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(53, 53, 53, 0.08);
}

/* =====================================================
   Modals
   ===================================================== */

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(53, 53, 53, 0.2);
}

.modal-header {
    border-bottom: 1px solid var(--medium-gray);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    color: var(--off-black);
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--apa-navy) 0%, var(--apa-navy-700) 55%, var(--apa-navy-600) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(85, 204, 221, 0.18) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 153, 187, 0.16) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    border-radius: 50%;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    color: #fff;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
}

.hero-tagline {
    color: var(--light-blue) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* =====================================================
   Equity Statement Section
   ===================================================== */

.equity-section {
    background-color: #fff;
    padding: 4rem 0;
    border-bottom: 3px solid var(--blue);
}

.equity-section .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--off-black);
    max-width: 800px;
    margin: 0 auto;
}

/* =====================================================
   Approach Section
   ===================================================== */

.approach-box {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(53, 53, 53, 0.06);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}

.approach-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(53, 53, 53, 0.1);
    border-top-color: var(--blue);
}

.approach-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-blue);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.approach-box h3 {
    color: var(--off-black);
    margin-bottom: 1rem;
}

.approach-box p {
    color: var(--grey);
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   Solutions Section
   ===================================================== */

.solution-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(53, 53, 53, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(53, 53, 53, 0.12);
}

.solution-card .card-body {
    padding: 1.75rem;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--grey);
}

/* Solution Image Carousel */
.solution-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: var(--off-white);
}

.solution-carousel .carousel-inner {
    border-radius: 8px 8px 0 0;
}

.solution-carousel .carousel-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.solution-carousel .carousel-control-prev,
.solution-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    background: rgba(53, 53, 53, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.solution-card:hover .carousel-control-prev,
.solution-card:hover .carousel-control-next {
    opacity: 1;
}

.solution-carousel .carousel-control-prev {
    left: 10px;
}

.solution-carousel .carousel-control-next {
    right: 10px;
}

.solution-carousel .carousel-indicators {
    margin-bottom: 0.5rem;
}

.solution-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
}

.solution-carousel .carousel-indicators button.active {
    background-color: #fff;
}

/* =====================================================
   Scholarship Section
   ===================================================== */

.scholarship-hero {
    background: linear-gradient(135deg, var(--apa-navy) 0%, var(--apa-teal-deep) 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
}

.scholarship-hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(85, 204, 221, 0.22) 0%, transparent 70%);
    top: -50px;
    right: 10%;
    border-radius: 50%;
}

.scholarship-hero h1,
.scholarship-hero p {
    color: #fff;
}

.scholarship-criteria {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(53, 53, 53, 0.06);
    border-left: 4px solid var(--blue);
}

.scholarship-form-section {
    background: #fff;
    padding: 5rem 0;
}

/* =====================================================
   Certifications Section
   ===================================================== */

.certifications-section {
    background: #fff;
    padding: 4rem 0;
    border-top: 1px solid rgba(53, 53, 53, 0.08);
    border-bottom: 1px solid rgba(53, 53, 53, 0.08);
}

.cert-logo {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.cert-carousel .carousel-item {
    padding: 1rem 0;
}

.cert-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--grey);
    border: none;
}

.cert-carousel .carousel-indicators button.active {
    background-color: var(--blue);
}

/* =====================================================
   YouTube Section
   ===================================================== */

.youtube-section {
    background: var(--off-white);
    padding: 4rem 0;
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(53, 53, 53, 0.12);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* =====================================================
   Credentials Section
   ===================================================== */

.credential-item {
    padding: 1.25rem;
    text-align: center;
}

.credential-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.credential-item strong {
    font-size: 0.95rem;
    color: var(--off-black);
    display: block;
    margin-bottom: 0.25rem;
}

.credential-item small {
    font-size: 0.85rem;
    color: var(--grey);
}

/* =====================================================
   CTA Section
   ===================================================== */

.cta-section {
    background: linear-gradient(135deg, var(--apa-navy) 0%, var(--apa-navy-700) 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(85, 204, 221, 0.14) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    border-radius: 50%;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

/* =====================================================
   Footer
   ===================================================== */

footer {
    background-color: var(--off-black);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

footer h5 {
    color: #fff;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--light-blue);
}

footer .footer-links a,
footer .footer-links span {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

footer .footer-links span {
    color: rgba(255, 255, 255, 0.7);
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* =====================================================
   Industry Display (Hero) - Decorative Cycling Text
   ===================================================== */

.industry-selector-wrapper {
    display: inline-block;
    position: relative;
}

/* The decorative display element */
.hero-industry-display {
    font-family: var(--heading-font);
    font-size: inherit;
    font-weight: 700;
    color: var(--apa-teal);
    background-color: rgba(85, 204, 221, 0.12);
    border: 2px solid var(--apa-teal);
    border-radius: 8px;
    padding: 0.4rem 1.5rem;
    cursor: default;
    pointer-events: none;
    user-select: none;
    min-width: 320px;
    max-width: 100%;
    text-align: center;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* =====================================================
   Loading Overlay
   ===================================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(53, 53, 53, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    color: #fff;
}

/* =====================================================
   Badges
   ===================================================== */

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-family: var(--body-font);
}

.badge.bg-primary {
    background-color: var(--blue) !important;
}

/* =====================================================
   Step Indicators (Scholarship Form)
   ===================================================== */

.form-step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    transition: background 0.3s ease;
}

.step-dot.active {
    background: var(--blue);
}

.step-dot.completed {
    background: var(--muted-red);
}

/* =====================================================
   Utility Classes
   ===================================================== */

.text-muted {
    color: var(--grey) !important;
}

.text-red {
    color: var(--muted-red);
}

.text-blue {
    color: var(--blue);
}

.text-light-blue {
    color: var(--light-blue);
}

.bg-off-white {
    background-color: var(--off-white);
}

.bg-white {
    background-color: #fff;
}

.border-blue {
    border-color: var(--blue) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(53, 53, 53, 0.06) !important;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--muted-red);
    margin: 1rem auto;
    border-radius: 2px;
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 992px) {
    .hero-industry-display {
        min-width: 280px;
        font-size: 1.25rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        min-height: 500px;
    }

    .section {
        padding: 3rem 0;
    }

    .approach-box {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-industry-display {
        min-width: 240px;
        font-size: 1.1rem;
        padding: 0.35rem 0.75rem;
    }

    .solution-carousel .carousel-item img {
        height: 200px;
    }

    .scholarship-hero {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 450px;
    }

    .container {
        padding: 0 1rem;
    }

    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }

    .hero-industry-display {
        min-width: auto;
        max-width: 100%;
        font-size: 1rem;
        padding: 0.35rem 0.75rem;
    }

    .approach-number {
        font-size: 2.5rem;
    }

    .credential-icon {
        font-size: 1.5rem;
    }

    .cert-logo {
        max-height: 50px;
        max-width: 100px;
    }

    .solution-carousel .carousel-item img {
        height: 180px;
    }
}

/* =====================================================
   Innovation Program Popup
   ===================================================== */

.innovations-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(53, 53, 53, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1.5rem;
}

.innovations-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.innovations-popup {
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 24px 64px rgba(53, 53, 53, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.innovations-popup-overlay.active .innovations-popup {
    transform: translateY(0) scale(1);
}

.innovations-popup-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--grey);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.innovations-popup-close:hover {
    color: var(--off-black);
}

.innovations-popup-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 153, 187, 0.12) 0%, rgba(85, 204, 221, 0.18) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.innovations-popup-icon i {
    font-size: 1.75rem;
    color: var(--blue);
}

.innovations-popup-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--off-black);
    margin-bottom: 0.75rem;
}

.innovations-popup-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 1.75rem;
}

.innovations-popup-text strong {
    color: var(--blue);
    font-weight: 600;
}

.innovations-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.innovations-popup-actions .btn-outline-secondary {
    background: transparent;
    border: none;
    color: var(--grey);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.innovations-popup-actions .btn-outline-secondary:hover {
    color: var(--off-black);
}

@media (max-width: 576px) {
    .innovations-popup {
        padding: 2rem 1.5rem 1.5rem;
    }

    .innovations-popup-heading {
        font-size: 1.25rem;
    }

    .innovations-popup-text {
        font-size: 0.95rem;
    }
}

/* =====================================================
   Accessibility
   ===================================================== */

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

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--off-black);
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

/* =====================================================
   Print Styles
   ===================================================== */

@media print {
    .navbar,
    .btn,
    .loading-overlay,
    .youtube-section,
    .cert-carousel {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section {
        page-break-inside: avoid;
    }

    .hero-section {
        background: #fff !important;
        color: #000 !important;
    }

    .hero-section h1,
    .hero-section p {
        color: #000 !important;
    }
}
