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

/* ── Intro ──────────────────────────────────────────────────────────────────── */
/* .faq-intro {
    padding: 7rem 0 4rem;
} */
.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;
}
.faq-video-section {
    padding-bottom: 8rem;
}
.faq-video-grid {
    list-style: none;
    margin: 0;
    padding: 0;    padding-top: 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.faq-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.faq-play-trigger {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.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);
}

.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);
}

.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;
}

.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;
}

.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;
}

.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;
}

.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);
}

.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;
}

.faq-video-section .container {
    padding-left: 0px;
    padding-right: 0px;
}
.faq-intro {
    padding-top: 20px;
}    
.faq-video-section{
    padding: 72px 0px 120px 0px;
}

.faq-video-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-video-card{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    /*border-radius: 8px;*/
    background: #000;
    transition: all .3s ease;
}

.faq-video-card:hover{
    transform: translateY(-5px);
}

.faq-video-thumb{
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.faq-video-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.faq-video-card:hover img{
    transform: scale(1.05);
}

/* dark overlay */
.faq-video-thumb:before{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.35);
    z-index:1;
}

/* play button */
.faq-play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    width:70px;
    height:70px;
    border-radius:50%;
    border:0px;
    background: transparent;
    backdrop-filter: blur(4px);
    color:#fff;
    font-size:28px;
    cursor:pointer;
    transition:.3s;
}

.faq-video-card:hover .faq-play-btn{
    background: transparent;
    color:#fff;
    transform:translate(-50%,-50%) scale(1.08);
}

/* title */
.faq-video-card h3{
    position:absolute;
    left:20px;
    bottom:20px;
    z-index:2;
    margin:0;
    color:#fff;
    font-size:28px;
    line-height:1.2;
    font-weight:700;
    max-width:70%;
}

/* ===== Modal ===== */
.faq-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.faq-modal-overlay{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(3px);
}

.faq-modal-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    max-width:900px;
    background:#000;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.5);
}

.faq-modal-video-wrap{
    position:relative;
    padding-top:56.25%;
}

#faqModalVideo{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

/* close button */
.faq-modal-close{
    position:absolute;
    top:15px;
    right:15px;
    z-index:999;
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:#234a86;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}
.faq-load-more-wrap{
    text-align:center;
    margin-top:50px;
}

.faq-load-more-btn{
    background:#234a86;
    color:#fff;
    border:none;
    padding:14px 34px;
    /*border-radius:100px;*/
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s ease;
}

.faq-load-more-btn:hover{
    background:#fdb140;
}

.faq-video-section a.more-btn {
    background: #fdb140;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    width: 190px;
    padding: 13px 29px;
    text-decoration: none;
    text-transform: uppercase;
    color: #272727 !important;
    font-family: "Open Sans", sans-serif;
    margin-top: 32px;
    justify-content: center;
}
.faq-video-section p {
    margin-bottom: 40px;
}
.faq-video-section a.more-btn .arrow-icon {
    width: 15px;
    height: 10px;
    display: inline-block;
    background-image: url(../images/black-white-arrow.svg);
    background-position-y: 0px;
    background-repeat: no-repeat;
    margin-left: 10px;
}
.container_home_page section.faq-video-section {
    text-align: center;
}

/* ===== Tablet ===== */
@media (max-width: 991px){

    .faq-video-grid{
        gap:20px;
    }

    .faq-video-card h3{
        font-size:22px;
        max-width:80%;
    }

    .faq-play-btn{
        width:60px;
        height:60px;
        font-size:24px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 767px){

    .faq-video-section{
        padding:50px 0;
    }

    .faq-video-grid{
        grid-template-columns: 1fr;
        gap:20px;
    }

    .faq-video-card h3{
        font-size:18px;
        left:15px;
        bottom:15px;
    }

    .faq-play-btn{
        width:52px;
        height:52px;
        font-size:20px;
    }

    .faq-modal-content{
        width:95%;
    }
}

/* ── 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 .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;
    }
}
@media (max-width: 600px) {
.faq-video-grid svg{Width:40px; height:40px}
}