/* ====================================
   BIBLE QUIZZING HERO
==================================== */

.bq-hero {
    position: relative;
    width: 100%;
    padding: 180px 70px 60px;
    overflow: hidden;
    background: url("../image/bq.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    background-color: #000;
}

.bq-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.8) 35%,
        rgba(0,0,0,.4) 100%
    );
}

.bq-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
    margin-top: -60px;
}

.bq-subtitle {
    color: #ff6a00;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.bq-line {
    width: 80px;
    height: 2px;
    background: #ff6a00;
    margin: 18px 0 28px;
}

.bq-title {
    font-size: 7rem;
    line-height: .9;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.bq-title span {
    display: block;
    color: #ff2d2d;
}

.bq-description {
    margin-top: 25px;
    max-width: 520px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    font-size: 1.2rem;
}

.bq-features {
    display: flex;
    gap: 45px;
    margin-top: 50px;
}

.bq-feature {
    display: flex;
    gap: 14px;
}

.bq-feature i {
    font-size: 2rem;
    color: #ff5a00;
}

.bq-feature h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.bq-feature p {
    color: #bdbdbd;
    font-size: .9rem;
}

/* ==========================================
   PANEL
========================================== */

.bq-panel {
    position: relative;
    width: 100%;
    max-width: 1480px;
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 320px;
    background: linear-gradient(180deg, rgba(10,15,30,.65), rgba(5,10,20,.92));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    overflow: hidden;
    z-index: 20;
}

/* ==========================================
   FEATURE BOX
========================================== */

.bq-feature-box {
    min-height: 220px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
}

.bq-feature-box i {
    font-size: 3rem;
    color: #ff4d00;
    margin-bottom: 20px;
}

.bq-feature-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    letter-spacing: .5px;
}

.bq-feature-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,.78);
    max-width: 170px;
}

/* ==========================================
   CTA
========================================== */

.bq-cta {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.bq-cta h2 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
    color: #fff;
}

.bq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: linear-gradient(90deg, #ff5a00, #ff7a00);
    color: #fff;
    padding: 16px 24px;
    border-radius: 60px;
    font-size: .9rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255,90,0,.4);
}

.bq-btn i {
    font-size: 1rem;
}

/* ====================================
   VERSE
==================================== */

.bq-verse {
    position: relative;
    z-index: 5;
    margin-top: 25px;
    border-left: 3px solid #ff5a00;
    padding-left: 18px;
    width: fit-content;
}

.bq-verse p {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.bq-verse span {
    color: #ff5a00;
    font-weight: 700;
    letter-spacing: 2px;
}

.bq-motto {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 14px;
}

.bq-motto span {
    color: #ff5a00;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.bq-footer-row {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}

/* ============================================================
   GALLERY SECTION
============================================================ */

.bq-gallery {
    background: #0a0a0a;
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

/* ── GALLERY HEADER ────────────────────────────────────────── */

.bq-gallery-header {
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.bq-gallery-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #ff5a00;
    margin-bottom: 1.1rem;
}

.gallery-line {
    display: block;
    width: 32px;
    height: 1px;
    background: #ff5a00;
    opacity: 0.6;
}

.bq-gallery-title {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.bq-gallery-accent {
    color: #ff2d2d;
}

.bq-gallery-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── CAROUSEL SHELL ────────────────────────────────────────── */

.bq-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 3.5rem; /* space for dots+counter */
    user-select: none;
}

/* ── TRACK WRAPPER ─────────────────────────────────────────── */

.bq-carousel-track-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    /* Subtle red-glow border */
    box-shadow:
        0 0 0 1px rgba(255,90,0,.15),
        0 24px 60px rgba(0,0,0,.6);
}

.bq-carousel-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    /* Slide width is 100% of wrapper — transform handles position */
    transform: translateX(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: grab;
}

.bq-carousel-track:active {
    cursor: grabbing;
}

/* ── SLIDE ─────────────────────────────────────────────────── */

.bq-slide {
    flex: 0 0 100%;
    position: relative;
}

.bq-slide-fig {
    margin: 0;
    position: relative;
    aspect-ratio: 3 / 2;
    background: #111;
    overflow: hidden;
}

.bq-slide-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    /* Prevent drag from selecting image */
    pointer-events: none;
    -webkit-user-drag: none;
}

.bq-slide:hover .bq-slide-fig img {
    transform: scale(1.03);
}

.bq-slide-fig figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.75rem 1.25rem;
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 100%);
    color: rgba(255,255,255,.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── CONTROLS ──────────────────────────────────────────────── */

.bq-carousel-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
}

.bq-carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.7);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.bq-carousel-btn:hover {
    background: #ff5a00;
    border-color: #ff5a00;
    color: #fff;
}

.bq-carousel-btn:focus-visible {
    outline: 2px solid #ff5a00;
    outline-offset: 3px;
}

/* ── DOTS ──────────────────────────────────────────────────── */

.bq-carousel-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.bq-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, width 0.25s, border-radius 0.25s;
}

.bq-dot.active {
    background: #ff5a00;
    width: 22px;
    border-radius: 3px;
}

.bq-dot:focus-visible {
    outline: 2px solid #ff5a00;
    outline-offset: 3px;
}

/* ── COUNTER ───────────────────────────────────────────────── */

.bq-carousel-counter {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.55);
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
}

.counter-sep {
    margin: 0 0.2rem;
    opacity: 0.5;
}

/* ── GALLERY CTA ───────────────────────────────────────────── */

.bq-gallery-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: 0 1.5rem;
}

.bq-gallery-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    background: transparent;
    border: 1px solid rgba(255,90,0,.5);
    border-radius: 60px;
    color: #ff5a00;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bq-gallery-cta-btn:hover {
    background: #ff5a00;
    border-color: #ff5a00;
    color: #fff;
}

.bq-gallery-cta-btn:focus-visible {
    outline: 2px solid #ff5a00;
    outline-offset: 3px;
}

.bq-gallery-cta-btn .fa-facebook {
    font-size: 1rem;
}

/* ============================================================
   MOBILE — existing breakpoints (unchanged)
============================================================ */

@media (max-width: 1200px) {
    .bq-panel {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 60px;
        grid-template-columns: repeat(2, 1fr);
    }
    .bq-cta {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .bq-title {
        font-size: 4.5rem;
    }
    .bq-features {
        flex-direction: column;
        gap: 25px;
    }
    .bq-panel {
        grid-template-columns: 1fr;
    }
    .bq-box {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .bq-watermark {
        width: 250px;
        right: -40px;
        top: 220px;
    }
}

@media (max-width: 768px) {
    .bq-hero {
        padding: 140px 25px 60px;
    }
    .bq-title {
        font-size: 3.2rem;
    }
    .bq-description {
        font-size: 1rem;
    }
    .bq-panel {
        grid-template-columns: 1fr;
    }
    .bq-feature-box {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .bq-cta {
        grid-column: auto;
    }
    .bq-cta h2 {
        font-size: 1.8rem;
    }
    .bq-btn {
        width: 100%;
    }

    /* Gallery mobile tweaks */
    .bq-carousel {
        max-width: 100%;
    }
    .bq-carousel-track-wrap {
        border-radius: 0;
    }
    .bq-slide-fig figcaption {
        font-size: 0.72rem;
        padding: 2rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .bq-gallery-title {
        font-size: 2rem;
    }
    .bq-carousel-btn {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.7rem;
    }
}

/* ── REDUCED MOTION ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .bq-carousel-track {
        transition: none;
    }
    .bq-slide-fig img,
    .bq-btn,
    .bq-carousel-btn,
    .bq-dot,
    .bq-gallery-cta-btn {
        transition: none;
    }
}