/* =============================================================================
   FAQ VIDEO SECTION — faq-video.css
   Import after your main style.css
   ============================================================================= */

/* ── Intro ──────────────────────────────────────────────────────────────────── */
.faq-intro {
    padding: 7rem 0 4rem;
<<<<<<< HEAD
}
.faq-intro p{font-size: 16px; line-height: 30px; font-weight: 400;}
/*.faq-intro .cnt-bx {
    max-width:700px;
}*/
=======
    text-align: center;
}
.faq-intro .w-50 {
    max-width: 640px;
}
>>>>>>> caf76801261406bbfde5506e306e509de2f2074e

/* ── Video Section Wrapper ───────────────────────────────────────────────────── */
.faq-video-section {
    padding-bottom: 8rem;
}

/* ── Grid ───────────────────────────────────────────────────────────────────── */
.faq-video-grid {
    list-style: none;
    margin: 0;
    padding: 0;    padding-top: 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* ── Card ───────────────────────────────────────────────────────────────────── */
.faq-video-card {
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.faq-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

/* The entire card is a <button> for keyboard accessibility */
.faq-play-trigger {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

/* ── Thumbnail Wrap ─────────────────────────────────────────────────────────── */
.faq-thumb-wrap {
    position: relative;
    width: 100%;
    /*aspect-ratio: 16 / 9;*/
    overflow: hidden;
    background: #1b4073;
}
.faq-thumb-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 25%);
  z-index: 2;
}
.faq-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.faq-video-card:hover .faq-thumb-wrap img {
    transform: scale(1.04);
    filter: brightness(0.75);
}

/* ── Play Icon ──────────────────────────────────────────────────────────────── */
.faq-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.faq-play-icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    transition: transform 0.25s ease;
}
.faq-video-card:hover .faq-play-icon svg {
    transform: scale(1.12);
}

/* ── Card Info (title + presenter) ─────────────────────────────────────────── */
.faq-card-info {
    padding: 1.8rem 2rem 2rem;
    background: #1b4073;
    flex: 1; display: none;
}
.faq-card-title {
    color: #fff;
    font-family: "Gotham Ultra", sans-serif;
    font-size: 1.7rem;
    line-height: 2.2rem;
    text-transform: uppercase;
    margin: 0 0 1.4rem;
}
.faq-card-presenter {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.faq-presenter-name {
    color: #FAB155;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.faq-presenter-role {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.2rem;
    line-height: 1.6rem;
}

/* ── Load More ──────────────────────────────────────────────────────────────── */
.faq-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}
.faq-load-more {border: 1px solid transparent;outline: none;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.25s ease, opacity 0.25s ease;
}
.faq-load-more:hover{border: 1px solid transparent; outline: none;}
.faq-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}
.faq-load-more .faq-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: faqSpin 0.7s linear infinite;
    display: none;
}
.faq-load-more.loading .faq-spinner {
    display: inline-block;
}

/* ── Modal Overlay ──────────────────────────────────────────────────────────── */
.faq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.faq-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

/* ── Modal Content Box ──────────────────────────────────────────────────────── */
.faq-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    animation: faqModalIn 0.3s ease;
}

/* ── Close Button ───────────────────────────────────────────────────────────── */
.faq-modal-close {
    position: absolute;
    top: 2px;
    right:2px;
    width: 40px;
    height: 40px;
    background: #1b4073;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
}
.faq-modal-close:hover {
    background: #FAB155;
    transform: scale(1.1);
}

/* ── Video Player (responsive 16:9) ────────────────────────────────────────── */
.faq-modal-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}
.faq-modal-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes faqSpin {
    to { transform: rotate(360deg); }
}
@keyframes faqModalIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Fade-in for newly loaded cards ─────────────────────────────────────────── */
.faq-video-item {
    animation: faqCardIn 0.4s ease both;
}
@keyframes faqCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* Tablet */
@media (max-width: 1024px) {
    .faq-video-grid {
        gap: 2.4rem;
    }
    .faq-card-title {
        font-size: 1.6rem;
    }
}

/* Phablet → single column */
@media (max-width: 767px) {
    .faq-intro {
        padding: 5rem 2rem 3rem;
    }
    .faq-intro .w-50 {
        width: 100%;
        max-width: 100%;
    }
    .faq-video-section {
        padding-bottom: 5rem;
    }
    .faq-video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .faq-modal-content {
        max-width: 100%;
        border-radius: 4px;
    }
    .faq-modal-close {
        top: 8px;
        right: 8px;
        position: fixed;
    }
    .faq-card-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .faq-load-more-wrap {
        margin-top: 3rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .faq-modal {
        padding: 0;
    }
    .faq-modal-content {
        border-radius: 0;
    }
    .faq-card-info {
        padding: 1.4rem 1.6rem 1.6rem;
    }
}
