﻿@import url('/css/dubaiway/dubaiway-landing.css');

/* ════════════════════════════════════════════════
   dubaiway-faq.css — FAQ Page
   ════════════════════════════════════════════════ */

/* ── HERO ── */
.fq-hero {
    padding: 80px 56px 72px;
    text-align: center;
    background: var(--faq-hero-bg);
}

.fq-hero-inner {
    margin: 0 auto;
}

.fq-h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 70.4px;
    letter-spacing: -0.1rem;
    color: var(--dw-ink);
    margin-bottom: 18px;
}

    .fq-h1 em {
        color: var(--dw-teal);
        font-style: normal;
    }

.fq-sub {
    font-size: 1.125rem;
    color: var(--dw-muted);
    line-height: 28.8px;
    max-width: 520px;
    margin: 0 auto 32px;
}

/* Search bar */

/* Search input placeholder */
.fq-input::placeholder {
    color: #6B7280;
}

/* Newsletter email input placeholder */
.fq-news-input::placeholder {
    color: #6B7280;
}

.fq-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.fq-search-ico {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dw-muted);
    pointer-events: none;
}

.fq-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 0.9375rem;
    color: var(--dw-ink);
    background: var(--dw-white);
    border: 1.5px solid var(--dw-bdr);
    border-radius: 14px;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .fq-input:focus {
        border-color: var(--dw-teal);
        box-shadow: 0 0 0 3px rgba(0,102,110,.12), 0 4px 20px rgba(0,0,0,.06);
    }

    .fq-input::placeholder {
        color: var(--dw-muted);
    }

/* ── CATEGORY CARDS ── */
.fq-cats {
    background: var(--dw-white);
    padding: 102px 56px;
}

.fq-cats-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fq-cat {
    background: var(--dw-white);
    border: 1.5px solid var(--dw-bdr);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .fq-cat:hover {
        box-shadow: var(--dw-shadow-lg);
        transform: translateY(-3px);
    }

.fq-cat-ico {
    width: 44px;
    height: 44px;
    background: rgba(0, 102, 110, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dw-ink);
    margin-bottom: 18px;
}

.fq-cat-h {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dw-ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.fq-cat-p {
    font-size: 1rem;
    color: var(--dw-muted);
    line-height: 25.6px;
    flex: 1;
    margin-bottom: 20px;
}

.fq-cat-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dw-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: color 0.2s;
}

    .fq-cat-link:hover {
        color: var(--dw-teal-bold);
    }

/* ── FAQ ACCORDION ── */
.fq-acc {
    padding: 72px 56px;
}

.fq-acc-inner {
    max-width: 760px;
    margin: 0 auto;
}

.fq-acc-head {
    text-align: center;
    margin-bottom: 44px;
}

.fq-badge {
    display: inline-block;
    background: var(--dw-teal-100);
    color: var(--dw-teal-400);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.fq-acc-h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dw-ink);
    letter-spacing: -0.32px;
}

.fq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fq-item {
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid var(--dw-bdr-b);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.fq-item-open {
    box-shadow: var(--dw-shadow);
}

.fq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

    .fq-q:focus-visible {
        outline: 2px solid var(--dw-teal);
        outline-offset: -2px;
        border-radius: 12px;
    }

.fq-q-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dw-ink);
    line-height: 31.2px;
}

.fq-chevron {
    width: 20px;
    height: 20px;
    color: var(--dw-muted);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(.22,1,.36,1), color 0.2s;
}

.fq-item-open .fq-chevron {
    transform: rotate(180deg);
    color: var(--dw-teal);
}

.fq-answer {
    padding: 0 24px 24px;
    font-size: 0.875rem;
    color: var(--dw-muted);
    line-height: 25.6px;
}

/* ── STILL HAVE QUESTIONS ── */
.fq-cta-wrap {
    padding: 0 56px 56px;
}

.fq-cta {
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--dw-stats-from) 0%, var(--dw-stats-to) 100%);
}

.fq-cta-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dw-white);
    margin-bottom: 10px;
}

.fq-cta-sub {
    font-size: 1rem;
    color: var(--dw-white);
    margin-bottom: 28px;
    line-height: 25.6px;
}

.fq-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.fq-btn-ghost-outline {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--dw-white);
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
}

    .fq-btn-ghost-outline:hover {
        background: rgba(255,255,255,.15);
        border-color: rgba(255,255,255,.9);
        color: var(--dw-white);
    }

.fq-btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    color: var(--dw-teal); /* ← teal text */
    background: var(--dw-bg-body); /* ← light gray-white bg */

    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

    .fq-btn-ghost:hover {
        background: var(--dw-teal-l); /* subtle teal tint on hover */
        color: var(--dw-teal);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(0, 102, 110, 0.12);
    }

/* ── NEWSLETTER ── */
.fq-news {
    padding: 56px;
    border-top: 1px solid var(--dw-bdr);
}

.fq-news-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.fq-news-h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dw-ink);
    letter-spacing: -0.32px;
    margin-bottom: 10px;
    line-height: 38.4px;
}

.fq-news-p {
    font-size: 1rem;
    color: var(--dw-muted);
    line-height: 25.6px;
}

.fq-news-form {
    display: flex;
    gap: 10px;
}

.fq-news-input {
    flex: 1;
    padding: 17px 16px 18px 16px;
    font-size: 1rem;
    color: var(--dw-ink);
    background: var(--dw-white);
    border: 1px solid #DEDEDE;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s;
}

    .fq-news-input:focus {
        border-color: var(--dw-teal);
    }

    .fq-news-input::placeholder {
        color: var(--dw-placeholder);
    }

.fq-btn-sub {
    padding: 16.5px 32px 17.5px 32px;
    background: var(--dw-teal-300);
    color: var(--dw-white);
    font-size: 1rem;
    font-weight: 400;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

    .fq-btn-sub:hover {
        background: var(--dw-teal-bold);
    }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .fq-hero, .fq-cats, .fq-acc, .fq-cta-wrap, .fq-news {
        padding-left: 24px;
        padding-right: 24px;
    }

    .fq-cats-inner {
        grid-template-columns: 1fr;
    }

    .fq-news-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fq-news-form {
        flex-direction: column;
    }
}
