.text-blueairlab {
    color: #2daaf6
}

.row.align-items-center.bg-color-grey {
    min-height: 600px;
    display: flex;
    align-items: stretch
}

.col-lg-6.p-0 {
    height: 100%
}

.col-lg-6.p-0 > .parallax {
    height: 100%;
    min-height: inherit
}

.parallax {
    position: relative;
    overflow: hidden;
    min-height: 600px !important;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transform: translateY(0);
    will-change: transform;
    transition: transform 1ms linear
}

.scrollable-section {
    overflow-y: auto;
    max-height: 315px;
    padding-right: 15px
}

.row.m-0 {
    display: flex;
    justify-content: center;
    align-items: center
}

.transformed-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    padding: 20px !important;
    gap: 20px
}

.transformed-row .col-lg-6 {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    text-align: left
}

.transformed-row img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px
}

.transformed-row .scrollable-section {
    overflow: visible !important;
    max-height: none !important
}

.transformed-row h4, .transformed-row h5, .transformed-row p {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    line-height: 1.8;
    white-space: normal;
    overflow: visible
}

.col-half-section-left, .col-half-section-right {
    width: 80%;
    margin: auto;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    text-align: left
}

.hidden-content {
    display: none;
    overflow: hidden
}

.transformed-row .hidden-content {
    display: block
}

#special-section.transformed-section, #nonspecial-section.transformed-section {
    position: relative;
    width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box
}

#special-section.transformed-section .col-lg-6, #nonspecial-section.transformed-section .col-lg-6 {
    width: 100% !important;
    flex: 0 0 100% !important
}

#special-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start
}

#image-column, #content-column {
    width: 50%;
    flex-shrink: 0
}

#special-section.transformed-section {
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    width: 100%
}

#special-section.transformed-section #image-column, #special-section.transformed-section #content-column {
    flex: 0 0 100%;
    width: 100%
}

#special-section.transformed-section #image-column {
    order: 1 !important
}

#special-section.transformed-section #content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-align: left
}

#special-section.transformed-section h4, #special-section.transformed-section h5, #special-section.transformed-section p {
    display: block;
    width: 100%;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    line-height: 1.8;
    font-size: 18px;
    white-space: normal;
    overflow: visible
}

#special-section.transformed-section img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px
}

#content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
    background-color: #fff
}

#content-column .overflow-hidden {
    overflow: visible !important
}

#content-column .appear-animation {
    margin-bottom: 20px
}

#content-column .hidden-content p {
    text-align: left;
    line-height: 1.8;
    margin: 0 auto;
    white-space: normal
}

@media (max-width: 768px) {
    .col-half-section-left, .col-half-section-right {
        width: 100%;
        padding: 10px 20px
    }

    #special-section, #special-section.transformed-section {
        flex-direction: column
    }

    #image-column, #content-column {
        width: 100%
    }

    #content-column {
        padding: 10px
    }

    #content-column h4, #content-column p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.8
    }
}

.pdf-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    margin-bottom: 25px;
    text-align: center;
    transition: box-shadow .3s
}

.pdf-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.pdf-thumb {
    position: relative;
    height: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center
}

.pdf-thumb img {
    max-height: 100%;
    max-width: 100%
}

.corner-ribbon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f44336;
    color: #ffffff;
    padding: 2px 6px;
    font-size: .75rem;
    font-weight: 700;
    border-top-left-radius: 4px
}

.pdf-info {
    margin-top: 10px
}

.pdf-title {
    font-weight: 600;
    font-size: .95rem;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.pdf-size {
    font-size: .8rem;
    color: #888
}

.pdf-actions {
    margin-top: 10px
}

.pdf-actions a {
    margin: 0 5px;
    font-size: 1.2rem;
    text-decoration: none;
    color: #444
}

.word-box {
    background-color: #007bff;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px
}

#nonspecial-section.transformed-section, #special-section.transformed-section {
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    width: 100%
}

#nonspecial-section.transformed-section .hidden-content, #special-section.transformed-section .hidden-content {
    display: block !important
}

#toggle-icon1, #toggle-trigger1, #toggle-icon2, #toggle-trigger2 {
    cursor: pointer
}

.transformed-section .toggle-icon {
    transform: rotate(180deg)
}

.toggle-content p {
    margin: 1rem 0
}

#special-section.transformed-section .initial-preview {
    display: none !important
}

#special-section .inner-content, #nonspecial-section .inner-content {
    width: 100%;
    padding: 0;
    margin: 0
}

#special-section.transformed-section .inner-content, #nonspecial-section.transformed-section .inner-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box
}

#special-section.transformed-section .row.justify-content-end {
    justify-content: center !important
}

#special-section.transformed-section .col-half-section {
    width: 100% !important;
    max-width: 1500px;
    margin: 0 auto !important;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: left
}

#nonspecial-section.transformed-section .row.m-0 {
    justify-content: center !important
}

#nonspecial-section.transformed-section .col-half-section-left {
    width: 100% !important;
    max-width: 1300px;
    margin: 0 auto !important;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: left
}

html .toggle-primary .toggle > .toggle-title {
    background-color: #08c !important;
    border-color: #08c !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 16px 20px !important;
    display: block !important
}

.card-boxes-bg {
    width: 100%;
    height: 100%;
    background: #f5f6f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0
}

.card-boxes-row {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px
}

.card-box {
    flex: 1 1 0;
    min-width: 180px;
    max-width: 260px;
    aspect-ratio: 4/5;
    height: 220px;
    background: #ddd;
    border-radius: 22px;
    box-shadow: 0 2px 16px #0001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 28px 10px
}

.card-box-title {
    font-weight: 700;
    font-size: 2.1rem;
    margin-bottom: 16px;
    letter-spacing: .01em;
    width: 100%
}

.card-box-body {
    font-weight: 400;
    font-size: 1.12rem;
    line-height: 1.2;
    width: 100%
}

.card-dq {
    background: #50a2da;
    color: #ffffff
}

.card-fat {
    background: #ef652a;
    color: #ffffff
}

.card-sat {
    background: #f4b02a;
    color: #ffffff
}

.card-ct {
    background: #1e4c98;
    color: #ffffff
}

.card-iq {
    background: #23b7c9;
    color: #ffffff
}

.card-oq {
    background: #79c04b;
    color: #ffffff
}

.card-pq {
    background: #f5cc36;
    color: #ffffff
}

@media (max-width: 1200px) {
    .card-boxes-row {
        max-width: 99vw;
        gap: 18px
    }

    .card-box {
        min-width: 100px;
        height: 150px;
        font-size: .9rem;
        padding: 10px 2px
    }

    .card-box-title {
        font-size: 1.2rem
    }

    .card-box-body {
        font-size: .9rem
    }
}

@media (max-width: 900px) {
    .card-boxes-row {
        flex-wrap: wrap;
        gap: 8px;
        max-width: 99vw
    }

    .card-box {
        min-width: 38vw;
        height: 120px;
        font-size: .88rem
    }
}

@media (max-width: 650px) {
    .card-box-title {
        margin-bottom: 4px
    }

    .card-boxes-row {
        flex-wrap: wrap;
        gap: 8px;
        max-width: 99vw
    }

    .card-box {
        min-width: 38vw;
        height: 120px;
        font-size: .88rem
    }

    .card-box-title {
        font-size: 1.05rem
    }

    .card-box-body {
        font-size: .83rem
    }
}

#cookie-notice.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(40, 126, 255, .95);
    color: #fff;
    font-family: Verdana, sans-serif;
    transform: translateY(100%);
    transition: transform .3s ease-in-out;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: .75rem 1rem;
    text-align: center
}

#cookie-notice.cookie-notice.visible {
    transform: translateY(0)
}

#cookie-notice .cn-text {
    flex: 0 1 auto;
    margin: 0;
    line-height: 1.4;
    font-size: 1rem;
    font-weight: 600
}

#cookie-notice .cn-button {
    padding: .5rem 1rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: #0d6efd;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 400
}

@media (max-width: 768px) {
    #cookie-notice.cookie-notice {
        flex-direction: column;
        gap: .5rem;
        padding: .75rem
    }

    #cookie-notice .cn-button {
        width: auto;
        margin: 0 auto
    }
}

/* Darken all “lead” and “text-4” paragraphs */
p.lead,
p.lead.mb-0.appear-animation,
p.justify-content-center.text-4 {
    /* on #ffffff or #ededed bg → need ≤0.18 luminance → hex ~#2A2A2A */
    color: #2a2a2a !important;
}

/* Darken “primary” links so they pass on white */
a.text-4.font-weight-bold.mb-3,
button.toggle-trigger.text-primary {
    /* a deeper blue that hits ~4.5:1 on white */
    color: #005b9e !important;
}

/* Make the corner‐ribbon red darker for white text */
.corner-ribbon {
    /* deeper red for ≥4.5:1 on white */
    background-color: #b71c1c !important;
}

/* Fix the “text-white” on light‐gray background */
.section.bg-color-grey-scale-1 .text-white {
    /* switch to dark text on gray, or force white on darker bg */
    color: #1c2023 !important;
}

/*.card-box.card-dq { background-color: #2678a8 !important; }*/
/*.card-box.card-fat { background-color: #cc5500 !important; }*/
/*.card-box.card-sat { background-color: #c48800 !important; }*/
/*.card-box.card-ct  { background-color: #123771 !important; }*/
/*.card-box.card-iq  { background-color: #0f7b8f !important; }*/
/*.card-box.card-oq  { background-color: #4e7e30 !important; }*/
/*.card-box.card-pq  { background-color: #a38b1f !important; }*/

/* Fix the dark gray strong in the footer on #1c2023 → use white text for ≥4.5:1 */
.footer-copyright strong {
    color: #FFFFFF !important;
}

/* ensure any other footer text is readable */
.footer-copyright,
.footer-copyright p {
    color: #FFFFFF !important;
}

/* 7) Ensure your toggle buttons still have an accessible name and contrast */
button#toggle-trigger1,
button#toggle-trigger2 {
    /* darken text if on light bg */
    color: #005b9e !important;
}

html, body {
    font-family: 'Verdana', Geneva, Tahoma, sans-serif !important;
}

/* Porto ponekad ostavi visinu tokom animacije → spreči liniju/trag */
.header-nav-main nav.collapsing { height: auto !important; }

/* Ako mobilni overlay ostaje taman i posle zatvaranja */
html .header-nav-main-mobile-dark { background: transparent !important; }

