﻿.nfq-section {
    --nfq-red: #E53935;
    --nfq-red-dark: #c62828;
    --nfq-black: #1a1a1a;
    --nfq-gray: #6b6b6b;
    --nfq-light-red: #fdeaea;
    --nfq-light-bg: #F8F8F8;
    --nfq-border: #ececec;
    --nfq-max: 1240px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: var(--nfq-black);
    padding: clamp(24px, 5vw, 50px) clamp(14px, 4vw, 34px) clamp(40px, 6vw, 70px);
    box-sizing: border-box;
    width: 100%;
}

    .nfq-section * {
        box-sizing: border-box;
    }

.nfq-wrap {
    max-width: var(--nfq-max);
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
}

/* ---------- Animations (Fixed Rendering & Visibility Issue) ---------- */
@keyframes nfqFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nfqFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes nfqFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes nfqFloatSlow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes nfqPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nfq-section * {
      
        transition: none !important;
    }
}

/* ---------- HERO ---------- */
.nfq-hero {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, var(--nfq-light-red) 100%);
    border-radius: 24px;
    padding: clamp(28px, 5vw, 54px) clamp(24px, 5vw, 60px);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

    .nfq-hero::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(229,57,53,0.10) 0%, rgba(229,57,53,0) 70%);
        top: -120px;
        right: -60px;
        pointer-events: none;
    }

.nfq-eyebrow {
    color: var(--nfq-red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
}

    .nfq-eyebrow::after {
        content: "";
        display: block;
        width: 34px;
        height: 3px;
        background: var(--nfq-red);
        margin-top: 8px;
        border-radius: 2px;
    }

.nfq-heading {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.18;
    font-weight: 800;
    margin: 0 0 14px 0;
    opacity: 1;
    position: relative;
    z-index: 1;
    animation: nfqFadeUp 0.4s ease both;
}

    .nfq-heading span {
        color: var(--nfq-red);
        display: block;
    }

.nfq-hero-text {
    color: var(--nfq-gray);
    font-size: clamp(14px, 1.6vw, 15.5px);
    line-height: 1.7;
    max-width: 46ch;
    margin: 0 0 26px 0;
    opacity: 1;
    position: relative;
    z-index: 1;
    animation: nfqFadeUp 0.4s ease both;
}

.nfq-search {
    display: flex;
    gap: 10px;
    max-width: 460px;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    opacity: 1;
    position: relative;
    z-index: 1;
    animation: nfqFadeUp 0.4s ease both;
}

.nfq-search-input {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px 0 14px;
}

    .nfq-search-input svg {
        flex: 0 0 auto;
        color: var(--nfq-gray);
    }

    .nfq-search-input input {
        border: none;
        outline: none;
        font-size: 13.5px;
        width: 100%;
        background: transparent;
        padding: 12px 0;
    }

.nfq-search-btn {
    background: var(--nfq-red);
    color: #fff;
    border: none;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

    .nfq-search-btn:hover {
        background: var(--nfq-red-dark);
        transform: translateY(-2px);
    }

.nfq-hero-art {
    position: relative;
    height: clamp(200px, 26vw, 300px);
    opacity: 1;
    animation: nfqFadeIn 0.5s ease both;
}

    .nfq-hero-art svg {
        width: 100%;
        height: 100%;
    }

.nfq-bubble1 {
    animation: nfqFloat 5s ease-in-out infinite;
    transform-origin: center;
}

.nfq-bubble2 {
    animation: nfqFloat 4.5s ease-in-out infinite 0.4s;
    transform-origin: center;
}

.nfq-plant {
    animation: nfqFloatSlow 5.5s ease-in-out infinite 0.2s;
    transform-origin: bottom;
}

.nfq-dot1, .nfq-dot2, .nfq-dot3 {
    animation: nfqPulse 1.6s ease-in-out infinite;
}

.nfq-dot2 {
    animation-delay: 0.2s;
}

.nfq-dot3 {
    animation-delay: 0.4s;
}

/* ---------- CATEGORY TABS ---------- */
.nfq-tabs {
    margin-top: clamp(26px, 4vw, 40px);
    background: #fff;
    border: 1px solid var(--nfq-border);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
}

    .nfq-tabs::-webkit-scrollbar {
        display: none;
    }

.nfq-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nfq-black);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    flex-shrink: 0;
}

    .nfq-tab svg {
        flex: 0 0 auto;
    }

    .nfq-tab:hover {
        background: var(--nfq-light-red);
        transform: translateY(-1px);
    }

    .nfq-tab.nfq-active {
        background: var(--nfq-red);
        color: #fff;
        box-shadow: 0 8px 18px rgba(229,57,53,0.28);
    }

        .nfq-tab.nfq-active svg path,
        .nfq-tab.nfq-active svg rect,
        .nfq-tab.nfq-active svg circle {
            stroke: #fff;
        }

/* ---------- MAIN CONTENT ---------- */
.nfq-main {
    margin-top: clamp(26px, 4vw, 40px);
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: clamp(20px, 3vw, 30px);
    align-items: start;
}

/* Accordion */
.nfq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nfq-acc-item {
    border: 1px solid var(--nfq-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

    .nfq-acc-item:hover {
        box-shadow: 0 10px 26px rgba(0,0,0,0.06);
    }

    .nfq-acc-item.nfq-open {
        border-color: rgba(229,57,53,0.25);
        background: var(--nfq-light-red);
    }

.nfq-acc-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.nfq-acc-toggle {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--nfq-light-red);
    color: var(--nfq-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nfq-acc-item.nfq-open .nfq-acc-toggle {
    background: var(--nfq-red);
    color: #fff;
    transform: rotate(180deg);
}

.nfq-acc-q {
    flex: 1;
    font-size: 14.5px;
    font-weight: 700;
}

.nfq-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px 0 60px;
}

.nfq-acc-item.nfq-open .nfq-acc-body {
    max-height: 500px;
    padding: 0 20px 20px 60px;
}

.nfq-acc-body p {
    margin: 0;
    font-size: 13px;
    color: var(--nfq-gray);
    line-height: 1.7;
}

/* Sidebar */
.nfq-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nfq-card {
    border-radius: 18px;
    padding: 24px;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .nfq-card:hover {
        transform: translateY(-4px);
    }

.nfq-card-1 {
    background: #fff;
    border: 1px solid var(--nfq-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nfq-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.3;
    position: relative;
    padding-bottom: 12px;
}

    .nfq-card h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 30px;
        height: 3px;
        background: var(--nfq-red);
        border-radius: 2px;
    }

.nfq-card p {
    font-size: 13px;
    color: var(--nfq-gray);
    line-height: 1.65;
}

.nfq-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nfq-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .nfq-card-btn:hover {
        background: var(--nfq-red-dark);
        transform: translateY(-2px);
    }

.nfq-info-list {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .nfq-info-list li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

.nfq-info-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--nfq-light-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfq-info-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.nfq-info-text span {
    font-size: 12px;
    color: var(--nfq-gray);
    line-height: 1.5;
}

.nfq-card-2 {
    background: var(--nfq-light-red);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.nfq-headset {
    align-self: flex-end;
    height: 85px;
    animation: nfqFloat 5s ease-in-out infinite;
}

.nfq-card-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--nfq-black);
    border: 1px solid var(--nfq-border);
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .nfq-card-btn-outline:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    }

/* ---------- CTA ---------- */
.nfq-cta {
    margin-top: clamp(30px, 5vw, 50px);
    background: linear-gradient(120deg, var(--nfq-light-red) 0%, #fff 100%);
    border-radius: 22px;
    padding: clamp(28px, 5vw, 50px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
    position: relative;
    overflow: hidden;
}

    .nfq-cta::before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(229,57,53,0.09) 0%, rgba(229,57,53,0) 70%);
        bottom: -100px;
        left: -60px;
    }

.nfq-cta-icon {
    width: 90px;
    animation: nfqFloatSlow 4.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.nfq-cta-text {
    position: relative;
    z-index: 1;
}

    .nfq-cta-text h4 {
        font-size: clamp(19px, 2.4vw, 24px);
        font-weight: 800;
        margin: 0 0 8px 0;
    }

    .nfq-cta-text p {
        font-size: 13.5px;
        color: var(--nfq-gray);
        margin: 0;
        line-height: 1.6;
    }

.nfq-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nfq-red);
    color: #fff;
    border: none;
    padding: 15px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(229,57,53,0.3);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .nfq-cta-btn:hover {
        background: var(--nfq-red-dark);
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(229,57,53,0.38);
    }

/* ---------- NEWSLETTER ---------- */
.nfq-newsletter {
    margin-top: clamp(20px, 3vw, 30px);
    background: var(--nfq-light-bg);
    border-radius: 18px;
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    opacity: 1;
    animation: nfqFadeUp 0.4s ease both;
}

.nfq-nl-icon {
    width: 150px;
    animation: nfqFloat 4.5s ease-in-out infinite;
}

.nfq-newsletter h5 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.nfq-newsletter p {
    font-size: 12.5px;
    color: var(--nfq-gray);
    margin: 0;
    line-height: 1.6;
}

.nfq-nl-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 260px;
}

.nfq-nl-input-row {
    display: flex;
    gap: 10px;
}

    .nfq-nl-input-row input {
        flex: 1;
        min-width: 0;
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid var(--nfq-border);
        font-size: 13px;
        outline: none;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
        background: #fff;
    }

        .nfq-nl-input-row input:focus {
            border-color: var(--nfq-red);
            box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
        }

.nfq-nl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nfq-red);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .nfq-nl-btn:hover {
        background: var(--nfq-red-dark);
        transform: translateY(-2px);
    }

.nfq-nl-note {
    font-size: 11px;
    color: var(--nfq-gray);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nfq-hero {
        grid-template-columns: 1fr;
    }

    .nfq-hero-art {
        order: -1;
        height: 200px;
    }

    .nfq-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nfq-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nfq-cta-icon {
        margin: 0 auto;
    }

    .nfq-newsletter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nfq-nl-icon {
        margin: 0 auto;
    }

    .nfq-nl-form {
        width: 100%;
    }

    .nfq-acc-body {
        padding-left: 20px;
    }

    .nfq-acc-item.nfq-open .nfq-acc-body {
        padding-left: 20px;
    }
}

@media (max-width: 400px) {
    .nfq-heading {
        font-size: 22px;
    }

    .nfq-search {
        flex-direction: column;
    }

    .nfq-search-btn {
        padding: 12px 0;
    }

    .nfq-tab span {
        display: inline;
    }
}
