/* =============================================================
 * Quran Web Academy — Homepage v6.6 Rich Visual Styles
 * ============================================================= */

/* Reset & typography */
.qw-home {
    --brand-950: #082217;
    --brand-900: #123d2b;
    --brand-800: #155538;
    --brand-700: #166f42;
    --gold-500: #c99a3b;
    --gold-400: #e2b658;
    --gold-300: #f4d78f;
    --cream: #faf7ef;
    --ink-500: #556862;
    --ink-800: #132520;
    --white: #ffffff;
    font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
    color: var(--ink-800);
    line-height: 1.8;
}
.qw-home *, .qw-home *::before, .qw-home *::after { box-sizing: border-box; }
.qw-home h1, .qw-home h2, .qw-home h3, .qw-home h4 {
    font-family: 'Cairo', system-ui, sans-serif;
    color: var(--brand-900);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1rem;
}
.qw-home img { max-width: 100%; height: auto; display: block; }
.qw-home a { color: var(--brand-800); text-decoration: none; }

.qw-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* =============================================================
 * HERO — Full-width with animated background + floating badges
 * ============================================================= */
.qw-hero {
    position: relative;
    background: linear-gradient(135deg, var(--brand-950), var(--brand-800) 50%, var(--gold-500));
    color: #fff;
    padding: 5rem 0 6rem;
    overflow: hidden;
}
.qw-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.1), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(228,182,88,.15), transparent 40%);
    pointer-events: none;
}
.qw-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.qw-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (min-width: 900px) {
    .qw-hero-inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}
.qw-hero-eyebrow {
    display: inline-block;
    background: rgba(228,182,88,.2);
    color: var(--gold-300);
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(228,182,88,.4);
    backdrop-filter: blur(10px);
}
.qw-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}
.qw-hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.qw-hero p.lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,.9);
    margin: 0 0 2rem;
    max-width: 600px;
}
.qw-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.qw-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none !important;
}
.qw-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.5); }
.qw-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    padding: 1.1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: 1.05rem;
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
    transition: background .2s;
    text-decoration: none !important;
}
.qw-btn-outline:hover { background: rgba(255,255,255,.2); }
.qw-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255,255,255,.85);
    font-size: .95rem;
}
.qw-hero-features li {
    display: inline-flex; align-items: center; gap: .5rem;
    list-style: none;
}
.qw-hero-features .check { color: var(--gold-400); font-weight: 900; }

/* Hero image with floating rating card */
.qw-hero-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    aspect-ratio: 4/3;
}
.qw-hero-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
}
.qw-hero-image-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(8,34,23,.5));
    pointer-events: none;
}
.qw-floating-badge {
    position: absolute;
    background: #fff;
    color: var(--ink-800);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    display: flex; align-items: center; gap: .75rem;
    animation: qw-float 3s ease-in-out infinite;
    z-index: 3;
}
.qw-floating-badge.badge-rating { bottom: -10px; right: -10px; }
.qw-floating-badge.badge-students { top: -10px; left: -10px; animation-delay: 1.5s; }
.qw-floating-badge .icon { font-size: 2rem; }
.qw-floating-badge .value { font-family: 'Cairo'; font-weight: 900; color: var(--brand-800); font-size: 1.3rem; }
.qw-floating-badge .label { color: var(--ink-500); font-size: .8rem; }
@keyframes qw-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =============================================================
 * STATS STRIP — Live counters
 * ============================================================= */
.qw-stats {
    background: #fff;
    padding: 3rem 1.5rem;
    margin: -2rem auto 0;
    max-width: 1200px;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(15,60,42,.12);
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.qw-stat-num {
    font-family: 'Cairo';
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--brand-800), var(--gold-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: .5rem;
}
.qw-stat-label { color: var(--ink-500); font-size: .95rem; }
.qw-stat-icon { font-size: 2rem; margin-bottom: .5rem; }

/* =============================================================
 * SECTIONS common
 * ============================================================= */
.qw-section { padding: 4rem 0; }
.qw-section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.qw-section-header .eyebrow {
    display: inline-block;
    color: var(--gold-500);
    font-family: 'Cairo';
    font-weight: 800;
    letter-spacing: .1em;
    font-size: .85rem;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.qw-section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}
.qw-section-header p { color: var(--ink-500); font-size: 1.1rem; }

/* =============================================================
 * TEACHERS SHOWCASE — 8-card grid with hover
 * ============================================================= */
.qw-section-teachers { background: var(--cream); }
.qw-teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.qw-teacher-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,60,42,.08);
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    position: relative;
    display: block;
}
.qw-teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15,60,42,.18);
}
.qw-teacher-photo-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-800), var(--gold-500));
}
.qw-teacher-photo-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s;
}
.qw-teacher-card:hover .qw-teacher-photo-wrap img { transform: scale(1.08); }
.qw-teacher-flag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,.95);
    padding: .35rem .65rem;
    border-radius: 50px;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.qw-teacher-rating {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,.7);
    color: var(--gold-300);
    padding: .3rem .7rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: .85rem;
    backdrop-filter: blur(10px);
}
.qw-teacher-body { padding: 1.25rem; text-align: center; }
.qw-teacher-name {
    font-family: 'Cairo';
    font-weight: 800;
    color: var(--brand-900);
    font-size: 1rem;
    margin: 0 0 .35rem;
}
.qw-teacher-spec { color: var(--gold-500); font-weight: 700; font-size: .85rem; margin-bottom: .5rem; min-height: 2.4em; }
.qw-teacher-meta { display: flex; justify-content: space-around; padding-top: .5rem; border-top: 1px solid #f0ede4; color: var(--ink-500); font-size: .8rem; }
.qw-view-all {
    text-align: center;
    margin-top: 2.5rem;
}
.qw-view-all a {
    display: inline-block;
    background: var(--brand-800);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    text-decoration: none !important;
    transition: background .2s;
}
.qw-view-all a:hover { background: var(--brand-900); }

/* =============================================================
 * CATEGORIES GRID — With SVG covers
 * ============================================================= */
.qw-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.qw-cat-card {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 16px rgba(15,60,42,.1);
    text-decoration: none !important;
}
.qw-cat-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 24px 60px rgba(15,60,42,.25); }
.qw-cat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8,34,23,.85));
}
.qw-cat-content {
    position: relative;
    padding: 1.5rem;
    color: #fff;
    z-index: 2;
}
.qw-cat-content h3 { color: #fff; font-size: 1.4rem; margin: 0 0 .5rem; }
.qw-cat-content p { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0 0 .75rem; }
.qw-cat-count {
    display: inline-block;
    background: var(--gold-500);
    color: var(--brand-950);
    padding: .3rem .85rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: .8rem;
}

/* =============================================================
 * CITIES WORLDWIDE — with skyline SVGs
 * ============================================================= */
.qw-section-cities { background: linear-gradient(180deg, var(--cream), #fff); }
.qw-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.qw-city-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,60,42,.08);
    transition: transform .3s, box-shadow .3s;
    text-decoration: none !important;
    color: var(--ink-800);
    display: block;
}
.qw-city-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,60,42,.15); }
.qw-city-skyline {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--brand-800);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.qw-city-flag-badge {
    background: rgba(255,255,255,.95);
    font-size: 2rem;
    padding: .5rem .75rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.qw-city-body { padding: 1.25rem; }
.qw-city-name { font-family: 'Cairo'; font-weight: 800; color: var(--brand-900); font-size: 1.15rem; margin: 0 0 .35rem; }
.qw-city-country { color: var(--ink-500); font-size: .9rem; margin: 0 0 .75rem; }
.qw-city-meta {
    display: flex; justify-content: space-between;
    padding-top: .75rem;
    border-top: 1px solid #f0ede4;
    color: var(--ink-500);
    font-size: .85rem;
}
.qw-city-students { color: var(--gold-500); font-weight: 700; }

/* =============================================================
 * VIDEOS PREVIEW — 4 featured
 * ============================================================= */
.qw-section-videos { background: linear-gradient(135deg, var(--brand-950), var(--brand-800)); color: #fff; }
.qw-section-videos .qw-section-header h2 { color: var(--gold-300); }
.qw-section-videos .qw-section-header p { color: rgba(255,255,255,.85); }
.qw-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.qw-video-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s;
    cursor: pointer;
    text-decoration: none !important;
    color: #fff;
    display: block;
}
.qw-video-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.qw-video-thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.qw-video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.qw-video-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s;
}
.qw-video-card:hover .qw-video-play { transform: translate(-50%, -50%) scale(1.15); }
.qw-video-play::after {
    content: '';
    border-left: 18px solid var(--brand-800);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-right: -3px;
}
.qw-video-body { padding: 1.25rem; }
.qw-video-title { font-family: 'Cairo'; font-weight: 800; color: #fff; font-size: 1.05rem; margin: 0 0 .5rem; }
.qw-video-meta { display: flex; justify-content: space-between; color: rgba(255,255,255,.7); font-size: .85rem; }

/* =============================================================
 * TESTIMONIALS carousel
 * ============================================================= */
.qw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.qw-testimonial {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(15,60,42,.08);
    border-top: 4px solid var(--gold-500);
    position: relative;
}
.qw-testimonial::before {
    content: '"';
    position: absolute;
    top: .5rem; right: 1.5rem;
    font-family: 'Cairo';
    font-size: 5rem;
    color: var(--gold-300);
    line-height: 1;
    opacity: .5;
}
.qw-testimonial-stars { color: var(--gold-500); font-size: 1.15rem; margin-bottom: 1rem; }
.qw-testimonial-text { color: var(--ink-800); font-size: 1rem; line-height: 1.9; margin-bottom: 1.25rem; }
.qw-testimonial-author { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid #f0ede4; }
.qw-testimonial-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-800), var(--gold-500));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Cairo'; font-weight: 900; font-size: 1.1rem;
}
.qw-testimonial-info h4 { font-family: 'Cairo'; margin: 0 0 .15rem; font-size: 1rem; color: var(--brand-900); }
.qw-testimonial-info span { color: var(--ink-500); font-size: .85rem; }

/* =============================================================
 * FOUNDER SECTION
 * ============================================================= */
.qw-section-founder { background: var(--cream); }
.qw-founder-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .qw-founder-inner { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
}
.qw-founder-photo {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 500px;
    box-shadow: 0 24px 60px rgba(15,60,42,.2);
}
.qw-founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.qw-founder-badge {
    position: absolute;
    bottom: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,.95);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.qw-founder-badge strong { display: block; font-family: 'Cairo'; color: var(--brand-800); }
.qw-founder-badge small { color: var(--ink-500); font-size: .85rem; }
.qw-founder-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink-800);
    border-right: 4px solid var(--gold-500);
    padding-right: 1.25rem;
    margin: 1.5rem 0;
}

/* =============================================================
 * WHY CHOOSE US — 6 feature cards
 * ============================================================= */
.qw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.qw-feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(15,60,42,.08);
    transition: transform .3s, box-shadow .3s;
    border-top: 4px solid transparent;
    text-align: center;
}
.qw-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15,60,42,.15);
    border-top-color: var(--gold-500);
}
.qw-feature-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--brand-800), var(--gold-500));
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    color: #fff;
}
.qw-feature-card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.qw-feature-card p { color: var(--ink-500); margin: 0; }

/* =============================================================
 * FINAL CTA
 * ============================================================= */
.qw-final-cta {
    background: linear-gradient(135deg, var(--brand-950), var(--brand-800) 50%, var(--gold-500));
    color: #fff;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.qw-final-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(228,182,88,.3), transparent 60%);
    pointer-events: none;
}
.qw-final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.qw-final-cta h2 { color: var(--gold-300); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.qw-final-cta p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.qw-cta-features {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem;
    margin-top: 2rem;
    color: rgba(255,255,255,.85);
}
.qw-cta-features li {
    display: inline-flex; align-items: center; gap: .5rem;
    list-style: none;
}
.qw-cta-features .check { color: var(--gold-400); font-weight: 900; font-size: 1.2rem; }

/* ==================================================================
 * v7.1 — HERO ENHANCED (real photo background + parallax + trust)
 * ================================================================== */
.qw-hero-v71 {
    position: relative;
    color: #fff;
    padding: 5rem 0 6rem;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}
.qw-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    animation: qw-slow-zoom 20s ease-in-out infinite alternate;
}
@keyframes qw-slow-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}
.qw-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(8,34,23,.92), rgba(21,85,56,.88) 50%, rgba(201,154,59,.75)),
        radial-gradient(circle at 30% 40%, rgba(228,182,88,.2), transparent 60%);
    z-index: 1;
}
.qw-hero-v71 .qw-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
@media (min-width: 900px) {
    .qw-hero-v71 .qw-hero-inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}
.qw-hero-v71 h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.qw-hero-v71 h1 .highlight {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.qw-hero-v71 p.lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,.95);
    margin: 0 0 2rem;
    max-width: 600px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.qw-hero-v71 .qw-hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(228,182,88,.2);
    color: var(--gold-300);
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(228,182,88,.4);
    backdrop-filter: blur(10px);
}
.pulse-dot {
    width: 10px; height: 10px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(228,182,88,.7); }
    50% { box-shadow: 0 0 0 10px rgba(228,182,88,0); }
}

/* Trust bar */
.qw-hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,.1);
    border-radius: 60px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.15);
    max-width: fit-content;
}
.trust-avatars { display: flex; align-items: center; }
.trust-avatars img {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-left: -12px;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-more {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    border: 2px solid #fff;
    color: var(--brand-950);
    font-family: 'Cairo';
    font-weight: 900;
    font-size: .75rem;
    display: flex; align-items: center; justify-content: center;
    margin-left: -12px;
}
.trust-stars { color: var(--gold-400); font-size: 1.1rem; letter-spacing: 2px; }
.trust-desc { font-size: .85rem; color: rgba(255,255,255,.95); }

/* Hero image with badges */
.qw-hero-v71 .qw-hero-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
    aspect-ratio: 16/10;
    transform: perspective(1000px) rotateY(-3deg);
}
.qw-hero-v71 .qw-hero-image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
}

.qw-live-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(220,53,69,.95);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    display: flex; align-items: center; gap: .5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(220,53,69,.4);
    z-index: 3;
}
.live-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
}
@keyframes pulse-live {
    0%,100%{opacity:1}
    50%{opacity:.4}
}

/* Scroll hint */
.qw-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    z-index: 2;
    animation: bounce 2s infinite;
}
.scroll-arrow {
    width: 30px; height: 30px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
@keyframes bounce {
    0%,100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ==================================================================
 * v7.1 — VIDEOS with real photos
 * ================================================================== */
.qw-videos-grid-v71 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
@media (min-width: 1000px) {
    .qw-videos-grid-v71 { grid-template-columns: 2fr 1fr 1fr; }
    .qw-videos-grid-v71 .featured { grid-row: span 2; }
    .qw-videos-grid-v71 .featured .qw-video-thumb-wrap { aspect-ratio: 4/3; }
    .qw-videos-grid-v71 .featured h3 { font-size: 1.5rem; }
}
.qw-video-card-v71 {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
    cursor: pointer;
    text-decoration: none !important;
    color: #fff;
    display: block;
    position: relative;
}
.qw-video-card-v71:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
    border-color: rgba(228,182,88,.4);
}
.qw-video-card-v71 .qw-video-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.qw-video-card-v71 img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s;
}
.qw-video-card-v71:hover img { transform: scale(1.08); }
.qw-video-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75));
    pointer-events: none;
}
.qw-video-play-v71 {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s;
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.qw-video-play-v71 svg { fill: var(--brand-800); }
.qw-video-card-v71:hover .qw-video-play-v71 {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--gold-400);
}
.qw-video-card-v71:hover .qw-video-play-v71 svg { fill: var(--brand-950); }
.qw-video-duration-badge {
    position: absolute;
    bottom: 12px; right: 12px;
    background: rgba(0,0,0,.85);
    color: #fff;
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 700;
    z-index: 2;
}
.qw-video-body-v71 { padding: 1.25rem; }
.qw-video-cat-badge {
    display: inline-block;
    background: var(--gold-500);
    color: var(--brand-950);
    padding: .25rem .75rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: .75rem;
    margin-bottom: .75rem;
}
.qw-video-card-v71 .qw-video-title {
    font-family: 'Cairo'; font-weight: 800;
    color: #fff; font-size: 1.1rem;
    margin: 0 0 .75rem;
    line-height: 1.4;
}
.qw-video-card-v71 .qw-video-meta {
    display: flex; justify-content: space-between;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* ==================================================================
 * v7.1 — CITIES with real photos
 * ================================================================== */
.qw-cities-grid-v71 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}
.qw-city-card-v71 {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,60,42,.1);
    transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
    text-decoration: none !important;
    color: var(--ink-800);
    display: block;
}
.qw-city-card-v71:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15,60,42,.2);
}
.qw-city-photo-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--brand-800);
}
.qw-city-card-v71 img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s;
}
.qw-city-card-v71:hover img { transform: scale(1.1); }
.qw-city-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8,34,23,.9));
    pointer-events: none;
}
.qw-city-flag-v71 {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(255,255,255,.95);
    font-size: 1.8rem;
    padding: .5rem .75rem;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    z-index: 2;
    backdrop-filter: blur(10px);
    line-height: 1;
}
.qw-city-overlay-content {
    position: absolute;
    bottom: 15px; right: 15px; left: 15px;
    z-index: 2;
    color: #fff;
}
.qw-city-overlay-content h3 {
    color: #fff;
    font-family: 'Cairo';
    font-size: 1.5rem;
    margin: 0 0 .25rem;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.qw-city-overlay-content p {
    color: rgba(255,255,255,.85);
    margin: 0;
    font-size: .9rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.qw-city-body-v71 {
    display: flex;
    padding: 1.25rem;
    justify-content: space-around;
    gap: 1rem;
}
.qw-city-stat { text-align: center; flex: 1; }
.qw-city-stat .stat-num {
    font-family: 'Cairo';
    font-weight: 900;
    color: var(--brand-800);
    font-size: 1.1rem;
    margin-bottom: .25rem;
}
.qw-city-stat .stat-lbl { color: var(--ink-500); font-size: .8rem; }

/* ==================================================================
 * v7.1 — PRE-FOOTER NEWSLETTER
 * ================================================================== */
.qw-prefooter {
    position: relative;
    padding: 5rem 1.5rem;
    overflow: hidden;
    margin-top: 3rem;
}
.qw-prefooter-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
}
.qw-prefooter-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(8,34,23,.95), rgba(21,85,56,.9));
}
.qw-prefooter-inner { position: relative; z-index: 2; }
.qw-newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 32px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.qw-newsletter-icon { font-size: 4rem; margin-bottom: 1rem; }
.qw-newsletter-box h3 {
    color: #fff;
    font-family: 'Cairo';
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 .75rem;
}
.qw-newsletter-box p {
    color: rgba(255,255,255,.85);
    margin: 0 0 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}
.qw-newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: .5rem;
    border-radius: 60px;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.qw-newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    outline: none;
    border-radius: 50px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    background: transparent;
    color: var(--ink-800);
    min-width: 0;
}
.qw-newsletter-form button {
    background: linear-gradient(135deg, var(--brand-800), var(--gold-500));
    color: #fff;
    border: none;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    transition: transform .2s;
}
.qw-newsletter-form button:hover { transform: scale(1.05); }
.qw-newsletter-stats {
    display: flex; justify-content: center; gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
}

/* ==================================================================
 * v7.1 — FOOTER
 * ================================================================== */
.qw-footer {
    background: linear-gradient(180deg, var(--brand-950), #050e0a);
    color: rgba(255,255,255,.85);
    position: relative;
    font-family: 'Tajawal', sans-serif;
}
.qw-footer-decor {
    display: block;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
}
.qw-footer-decor svg {
    width: 100%;
    height: 60px;
    display: block;
}
.qw-footer-main { padding: 4rem 0 2rem; }
.qw-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 700px) {
    .qw-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}
.qw-footer-col h4 {
    color: var(--gold-400);
    font-family: 'Cairo';
    font-size: 1.15rem;
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid rgba(228,182,88,.2);
}
.qw-footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.qw-footer-name {
    font-family: 'Cairo';
    font-weight: 900;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.2;
}
.qw-footer-tag {
    color: var(--gold-400);
    font-size: .85rem;
    letter-spacing: .05em;
}
.qw-footer-desc {
    color: rgba(255,255,255,.75);
    line-height: 1.8;
    margin: 0 0 1.5rem;
}
.qw-footer-desc strong { color: var(--gold-300); }
.qw-footer-certs {
    display: flex; flex-wrap: wrap; gap: .5rem;
    margin-bottom: 1.5rem;
}
.cert-badge {
    background: rgba(228,182,88,.15);
    color: var(--gold-300);
    padding: .35rem .85rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    border: 1px solid rgba(228,182,88,.3);
}
.qw-footer-social {
    display: flex; gap: .5rem;
    flex-wrap: wrap;
}
.social-link {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none !important;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.4); }

.qw-footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .75rem;
}
.qw-footer-links a {
    color: rgba(255,255,255,.75) !important;
    text-decoration: none !important;
    transition: color .2s, transform .2s;
    display: inline-block;
}
.qw-footer-links a:hover {
    color: var(--gold-300) !important;
    transform: translateX(-4px);
}

.qw-footer-contact {
    list-style: none; padding: 0; margin: 0 0 1.5rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.qw-footer-contact li {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.contact-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-lbl { color: rgba(255,255,255,.5); font-size: .75rem; }
.contact-val {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: .95rem;
    unicode-bidi: isolate;
}
.contact-val[dir="ltr"] { direction: ltr; text-align: left; unicode-bidi: bidi-override; }
.contact-val bdi { unicode-bidi: isolate; direction: ltr; display: inline-block; }
.contact-val:hover { color: var(--gold-300) !important; }

.qw-footer-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff !important;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-family: 'Cairo';
    font-weight: 800;
    font-size: 1rem;
    transition: transform .2s;
    box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.qw-footer-cta:hover { transform: translateY(-2px); }

/* Trust strip */
.qw-footer-trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.trust-icon { font-size: 2rem; }
.trust-title { color: #fff; font-family: 'Cairo'; font-weight: 800; font-size: 1rem; }
.trust-sub { color: rgba(255,255,255,.6); font-size: .8rem; }

/* Bottom bar */
.qw-footer-bottom {
    background: rgba(0,0,0,.5);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.05);
}
.qw-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}
.copyright strong { color: var(--gold-300); }
.qw-footer-bottom-links {
    display: flex; gap: .5rem; flex-wrap: wrap;
    align-items: center;
}
.qw-footer-bottom-links a {
    color: rgba(255,255,255,.7) !important;
    text-decoration: none !important;
}
.qw-footer-bottom-links a:hover { color: var(--gold-300) !important; }
.qw-footer-bottom-links .sep { color: rgba(255,255,255,.2); }
.qw-footer-love { color: rgba(255,255,255,.6); }

/* WhatsApp floating v7.1 */
.qw-whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important;
    box-shadow: 0 12px 32px rgba(37,211,102,.5);
    z-index: 100;
    transition: transform .3s;
    text-decoration: none !important;
}
.qw-whatsapp-float:hover { transform: scale(1.1) rotate(-10deg); }
.qw-whatsapp-pulse {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.5); opacity: 0; }
}
.qw-whatsapp-tooltip {
    position: absolute;
    right: 75px; top: 50%;
    transform: translateY(-50%);
    background: #082217;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 8px;
    font-size: .85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    font-family: 'Tajawal';
}
.qw-whatsapp-float:hover .qw-whatsapp-tooltip { opacity: 1; }

/* Mobile adjustments */
@media (max-width: 700px) {
    .qw-hero-v71 { min-height: 600px; padding: 4rem 0; }
    .qw-hero-v71 .qw-hero-image-wrap { transform: none; }
    .qw-hero-trust { flex-direction: column; text-align: center; border-radius: 24px; }
    .qw-newsletter-form { flex-direction: column; border-radius: 20px; padding: 1rem; }
    .qw-newsletter-form input, .qw-newsletter-form button { width: 100%; border-radius: 50px; justify-content: center; }
    .qw-footer-bottom-inner { flex-direction: column; text-align: center; }
}
