/* ================================================
   About Page — Quantum College
   Follows site design: Mardoto fonts, #002D48, #D7F1F0
   ================================================ */

/* Container */
.qa-wrap {
    padding: 0 100px;
    max-width: 1921px;
    margin: 0 auto;
}

/* ---- HERO ---- */
.qa-hero {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 48px;
}

.qa-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qa-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 45, 72, 0.15) 0%, rgba(0, 45, 72, 0.75) 100%);
}

.qa-hero__body {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    max-width: 720px;
}

.qa-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 80px;
    background: rgba(215, 241, 240, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    font-family: Mardoto-Medium, sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
}

.qa-hero__body h1 {
    font-family: Mardoto-Black, sans-serif;
    font-size: 52px;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}

.qa-hero__subtitle {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ---- QUICK FACTS ---- */
.qa-facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.qa-fact {
    background: #D7F1F0;
    border-radius: 25px;
    padding: 24px 20px;
    text-align: center;
}

.qa-fact__num {
    font-family: Mardoto-Black, sans-serif;
    font-size: 36px;
    line-height: 1.1;
    color: #002D48;
}

.qa-fact__label {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0, 45, 72, 0.6);
    margin-top: 6px;
}

/* ---- SHARED SECTION ---- */
.qa-section {
    margin-bottom: 64px;
}

.qa-section__head {
    margin-bottom: 32px;
}

.qa-section__head h2 {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: #002D48;
    margin: 0 0 8px;
}

.qa-section__head p {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    max-width: 72ch;
}

/* ---- CARDS ---- */
.qa-card {
    background: #fff;
    border: 1px solid rgba(0, 45, 72, 0.08);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.06);
}

.qa-card--teal {
    background: #D7F1F0;
    border-color: transparent;
}

.qa-card--dark {
    background: #002D48;
    border-color: transparent;
    color: #fff;
}

.qa-card--dark h2,
.qa-card--dark h3 {
    color: #fff;
}

.qa-card--dark p {
    color: rgba(255, 255, 255, 0.8);
}

.qa-card h2 {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    color: #002D48;
    margin: 0 0 16px;
}

.qa-card h3 {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: #002D48;
    margin: 0 0 10px;
}

.qa-card p {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
    margin: 0 0 12px;
}

.qa-card p:last-child {
    margin-bottom: 0;
}

/* Card with image */
.qa-card--img {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.qa-card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 320px;
}

/* Image placeholder for sections that need a photo */
.qa-img-placeholder {
    width: 100%;
    min-height: 320px;
    border-radius: 32px;
    background: linear-gradient(135deg, #D7F1F0 0%, #b8e8e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed rgba(0, 45, 72, 0.15);
}

.qa-img-placeholder__title {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: rgba(0, 45, 72, 0.4);
}

.qa-img-placeholder__desc {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 14px;
    color: rgba(0, 45, 72, 0.35);
}

/* ---- GRID LAYOUTS ---- */
.qa-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.qa-split--reverse {
    grid-template-columns: 0.85fr 1.15fr;
}

.qa-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qa-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ---- LEVEL ICON ---- */
.qa-level-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 44px;
    border-radius: 14px;
    background: rgba(4, 167, 161, 0.15);
    font-family: Mardoto-Black, sans-serif;
    font-size: 16px;
    color: #04A7A1;
}

.qa-card__top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

/* ---- PILLS ---- */
.qa-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.qa-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 80px;
    border: 1px solid rgba(0, 45, 72, 0.12);
    background: #fff;
    font-family: Mardoto-Medium, sans-serif;
    font-size: 14px;
    color: #002D48;
}

.qa-pill--accent {
    border-color: rgba(4, 167, 161, 0.35);
    background: rgba(4, 167, 161, 0.08);
    color: #04A7A1;
}

.qa-pill--dark {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ---- LIST ---- */
.qa-list {
    margin: 12px 0 0;
    padding-left: 20px;
    list-style: none;
}

.qa-list li {
    position: relative;
    font-family: Mardoto-Regular, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
    margin: 10px 0;
    padding-left: 4px;
}

.qa-list li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #04A7A1;
}

.qa-list--light li {
    color: rgba(255, 255, 255, 0.85);
}

.qa-list--light li::before {
    background: #D7F1F0;
}

/* ---- GROWTH CHART ---- */
.qa-growth {
    margin-top: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(0, 45, 72, 0.08);
}

.qa-growth__head {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.qa-growth__legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Mardoto-Medium, sans-serif;
    font-size: 13px;
    color: rgba(0, 45, 72, 0.6);
}

.qa-growth__legend::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
}

.qa-growth__legend--old::before {
    background: rgba(0, 45, 72, 0.2);
}

.qa-growth__legend--new::before {
    background: #04A7A1;
}

.qa-growth__row {
    margin-bottom: 14px;
}

.qa-growth__row:last-child {
    margin-bottom: 0;
}

.qa-growth__label {
    font-family: Mardoto-Medium, sans-serif;
    font-size: 13px;
    color: #002D48;
    margin-bottom: 6px;
}

.qa-growth__bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qa-growth__bar {
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-family: Mardoto-Bold, sans-serif;
    font-size: 13px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    min-width: fit-content;
}

.qa-growth__bar span {
    opacity: 0;
    transition: opacity 0.4s ease 0.8s;
}

.qa-growth.is-visible .qa-growth__bar {
    width: var(--pct);
}

.qa-growth.is-visible .qa-growth__bar span {
    opacity: 1;
}

.qa-growth__bar--old {
    background: rgba(0, 45, 72, 0.12);
    color: rgba(0, 45, 72, 0.6);
}

.qa-growth__bar--new {
    background: linear-gradient(90deg, #04A7A1, #02857f);
    color: #fff;
}

/* ---- DIVIDER ---- */
.qa-divider {
    border: none;
    border-top: 1px solid rgba(0, 45, 72, 0.1);
    margin: 16px 0;
}

/* ---- NOTE BOX ---- */
.qa-note {
    padding: 20px 24px;
    border-radius: 25px;
    border: 1px solid rgba(4, 167, 161, 0.25);
    background: rgba(215, 241, 240, 0.4);
    font-family: Mardoto-Regular, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #002D48;
    margin-top: 16px;
}

/* ---- UNIVERSITY LOGOS ---- */
.qa-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.qa-logo {
    height: 120px;
    border-radius: 16px;
    border: 1px solid rgba(0, 45, 72, 0.12);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
}

.qa-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qa-logo--sm {
    padding: 20px 32px;
}

.qa-logo--sm img {
    max-height: 60px;
}

/* ---- IB SECTION ---- */
.qa-split--ib {
    grid-template-columns: 1.4fr 0.6fr;
}

.qa-ib-right {
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(4, 167, 161, 0.08), rgba(0, 45, 72, 0.06));
    border: 1px solid rgba(0, 45, 72, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qa-ib-right img {
    max-width: 56%;
    max-height: 56%;
    object-fit: contain;
}

/* ---- CTA ---- */
.qa-cta {
    background: #002D48;
    border-radius: 32px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.qa-cta h2 {
    font-family: Mardoto-Black, sans-serif;
    font-size: 36px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 8px;
}

.qa-cta p {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 60ch;
}

/* ---- BUTTONS ---- */
.qa-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.qa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 28px;
    border-radius: 80px;
    font-family: Mardoto-Bold, sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.qa-btn:hover {
    transform: translateY(-2px);
}

.qa-btn--primary {
    background: #04A7A1;
    color: #fff;
    border: 1px solid #fff;
}

.qa-btn--primary:hover {
    background: rgba(4, 167, 161, 1);
    box-shadow: 0 6px 24px rgba(4, 167, 161, 0.4);
}

.qa-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.qa-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.qa-btn--dark {
    background: #002D48;
    color: #fff;
    border: 1px solid #002D48;
}

/* ---- SCHOOL LIFE GRID ---- */
.qa-life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qa-life-card {
    background: #fff;
    border: 1px solid rgba(0, 45, 72, 0.08);
    border-radius: 25px;
    padding: 28px;
    box-shadow: 4px 4px 12px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qa-life-card:hover {
    transform: translateY(-4px);
    box-shadow: 4px 8px 24px 0 rgba(0, 0, 0, 0.1);
}

.qa-life-card h3 {
    font-family: Mardoto-Bold, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #002D48;
    margin: 0 0 8px;
}

.qa-life-card p {
    font-family: Mardoto-Regular, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* ---- SCHOOL LIFE PHOTO MARQUEE ---- */
.qa-marquee-wrap {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border-radius: 24px;
}

.qa-marquee {
    overflow: hidden;
}

.qa-marquee__track {
    display: flex;
    gap: 12px;
    width: max-content;
}

.qa-marquee--left .qa-marquee__track {
    animation: marqueeLeft 30s linear infinite;
}

.qa-marquee--right .qa-marquee__track {
    animation: marqueeRight 25s linear infinite;
}

.qa-marquee__img {
    flex-shrink: 0;
    width: 360px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
}

.qa-marquee__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

.qa-marquee__img--portrait {
    width: 200px;
}

.qa-marquee__img--portrait img {
    object-position: center 15%;
}

.qa-marquee-wrap:hover .qa-marquee__track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ================================================
   ANIMATIONS & INTERACTIONS
   ================================================ */

/* --- Scroll Reveal (base: fade up with blur) --- */
.qa-reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --- Directional reveals --- */
.qa-reveal--left {
    transform: translateX(-60px) translateY(0);
}

.qa-reveal--right {
    transform: translateX(60px) translateY(0);
}

.qa-reveal--left.is-visible,
.qa-reveal--right.is-visible {
    transform: translateX(0) translateY(0);
}

/* --- Scale reveal --- */
.qa-reveal--scale {
    transform: scale(0.92) translateY(30px);
}

.qa-reveal--scale.is-visible {
    transform: scale(1) translateY(0);
}

/* --- Split children: left slides left, right slides right --- */
.qa-split-reveal > *:first-child {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(4px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-split-reveal > *:last-child {
    opacity: 0;
    transform: translateX(50px);
    filter: blur(4px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
                filter 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.qa-split-reveal.is-visible > *:first-child,
.qa-split-reveal.is-visible > *:last-child {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Stagger children */
.qa-stagger > * {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    filter: blur(4px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.qa-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.qa-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.qa-stagger.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.qa-stagger.is-visible > *:nth-child(5) { transition-delay: 0.4s; }
.qa-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }
.qa-stagger.is-visible > *:nth-child(7) { transition-delay: 0.6s; }
.qa-stagger.is-visible > *:nth-child(8) { transition-delay: 0.7s; }

.qa-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* --- Hero entrance --- */
.qa-hero__body .qa-badge,
.qa-hero__body h1,
.qa-hero__body .qa-hero__subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.qa-hero__body .qa-badge { animation-delay: 0.2s; }
.qa-hero__body h1 { animation-delay: 0.4s; }
.qa-hero__body .qa-hero__subtitle { animation-delay: 0.6s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero parallax --- */
.qa-hero__img {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* --- Fact counter glow --- */
.qa-fact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-fact:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(4, 167, 161, 0.2);
}

.qa-fact__num {
    transition: color 0.3s ease;
}

.qa-fact:hover .qa-fact__num {
    color: #04A7A1;
}

/* --- Card 3D tilt --- */
.qa-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
}

.qa-card:hover {
    box-shadow: 8px 16px 40px rgba(0, 0, 0, 0.1);
}

/* --- Level icon pulse --- */
.qa-level-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.qa-card:hover .qa-level-icon {
    transform: scale(1.15);
    background: rgba(4, 167, 161, 0.25);
}

/* --- Pills pop-in --- */
.qa-pills .qa-pill {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.qa-pills .qa-pill:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 45, 72, 0.12);
}

/* --- IB logo float --- */
.qa-ib-right img {
    animation: ibFloat 4s ease-in-out infinite;
}

@keyframes ibFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- Note box highlight --- */
.qa-note {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.qa-note:hover {
    border-color: rgba(4, 167, 161, 0.5);
    box-shadow: 0 4px 20px rgba(4, 167, 161, 0.12);
}

/* --- Logo hover --- */
.qa-logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-logo:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0, 45, 72, 0.1);
}

/* --- Life card accent bar on hover --- */
.qa-life-card {
    position: relative;
    overflow: hidden;
}

.qa-life-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #04A7A1, #002D48);
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-life-card:hover::before {
    height: 100%;
}

/* --- CTA shimmer button --- */
.qa-btn--primary {
    position: relative;
    overflow: hidden;
}

.qa-btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.qa-btn--primary:hover::after {
    left: 100%;
}

/* --- CTA glow pulse --- */
.qa-cta {
    position: relative;
}

.qa-cta::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 34px;
    background: linear-gradient(135deg, #04A7A1, #002D48, #04A7A1);
    background-size: 300% 300%;
    animation: ctaGlow 6s ease infinite;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
}

@keyframes ctaGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Image reveal on scroll --- */
.qa-card--img img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.qa-card--img:hover img {
    transform: scale(1.04);
}

/* --- Reduce motion for accessibility --- */
@media (prefers-reduced-motion: reduce) {
    .qa-reveal,
    .qa-reveal--left,
    .qa-reveal--right,
    .qa-reveal--scale,
    .qa-stagger > *,
    .qa-split-reveal > *,
    .qa-hero__body .qa-badge,
    .qa-hero__body h1,
    .qa-hero__body .qa-hero__subtitle {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
    .qa-ib-right img { animation: none; }
    .qa-cta::before { animation: none; }
    .qa-marquee--left .qa-marquee__track,
    .qa-marquee--right .qa-marquee__track { animation: none; }
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (min-width: 1280px) and (max-width: 1919px) {
    .qa-wrap {
        padding: 0 40px;
    }
    .qa-hero__body h1 {
        font-size: 44px;
    }
    .qa-facts {
        grid-template-columns: repeat(3, 1fr);
    }
    .qa-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .qa-wrap {
        padding: 0 24px;
    }
    .qa-hero {
        min-height: 400px;
        border-radius: 25px;
    }
    .qa-hero__body {
        padding: 32px 40px;
    }
    .qa-hero__body h1 {
        font-size: 40px;
    }
    .qa-facts {
        grid-template-columns: repeat(3, 1fr);
    }
    .qa-split,
    .qa-split--reverse {
        grid-template-columns: 1fr 1fr;
    }
    .qa-grid3,
    .qa-life-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .qa-marquee__img {
        width: 300px;
        height: 170px;
    }
    .qa-section__head h2 {
        font-size: 32px;
    }
    .qa-card h2 {
        font-size: 28px;
    }
    .qa-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    .qa-cta {
        padding: 40px;
    }
    .qa-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .qa-wrap {
        padding: 0 16px;
    }
    .qa-hero {
        min-height: 360px;
        border-radius: 20px;
        margin-bottom: 32px;
    }
    .qa-hero__body {
        padding: 24px;
    }
    .qa-hero__body h1 {
        font-size: 32px;
    }
    .qa-hero__subtitle {
        font-size: 16px;
    }
    .qa-facts {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 40px;
    }
    .qa-fact {
        padding: 18px 14px;
        border-radius: 20px;
    }
    .qa-fact__num {
        font-size: 28px;
    }
    .qa-section {
        margin-bottom: 40px;
    }
    .qa-section__head h2 {
        font-size: 28px;
    }
    .qa-split,
    .qa-split--reverse,
    .qa-grid2 {
        grid-template-columns: 1fr;
    }
    .qa-grid3,
    .qa-life-grid {
        grid-template-columns: 1fr;
    }
    .qa-marquee__img {
        width: 260px;
        height: 150px;
    }
    .qa-card {
        padding: 24px;
        border-radius: 25px;
    }
    .qa-card h2 {
        font-size: 26px;
    }
    .qa-card--img img {
        min-height: 240px;
    }
    .qa-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    .qa-cta {
        padding: 32px 24px;
        border-radius: 25px;
        flex-direction: column;
        text-align: center;
    }
    .qa-cta h2 {
        font-size: 26px;
    }
    .qa-actions {
        justify-content: center;
    }
    .qa-ib-right {
        min-height: 200px;
    }
    .qa-note {
        border-radius: 20px;
    }
}
