/* =============================================
   MODERN FAQ PAGE STYLES
============================================== */

/* Main FAQ Section */
.faq-page-section {
    background: var(--warm-gray);
}

/* FAQ Image Wrapper */
.faq-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.faq-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.faq-image-wrapper:hover img {
    transform: scale(1.03);
}

.faq-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--coral);
    color: var(--pure-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.4);
}

/* FAQ Contact Card (Dark Teal Gradient) */
.faq-contact-card {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: var(--pure-white);
    box-shadow: 0 15px 40px rgba(59, 129, 139, 0.3);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon-sm {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text a:hover {
    color: var(--coral) !important;
    transition: color 0.3s ease;
}

/* FAQ Content Wrapper */
.faq-content-wrapper {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Modern Accordion (Refined) */
.modern-accordion .accordion-item {
    border: 1px solid var(--light-gray);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--pure-white);
    transition: all 0.3s ease;
}

.modern-accordion .accordion-item:hover {
    border-color: rgba(255, 127, 80, 0.3);
}

.modern-accordion .accordion-button {
    background: var(--pure-white);
    color: var(--charcoal);
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 24px;
    border: none;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.faq-number {
    font-family: var(--font-02);
    font-size: 1.4rem;
    font-weight: 700;
    /*color: var(--coral);*/
    flex-shrink: 0;
    min-width: 35px;
}

.faq-question-text {
    flex: 1;
}

.faq-link {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.faq-link:hover {
    color: var(--coral);
}

.modern-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: var(--pure-white);
}

.modern-accordion .accordion-button:not(.collapsed) .faq-link {
    color: var(--pure-white);
}
.modern-accordion .accordion-button:not(.collapsed) .faq-number{
	color: var(--coral);
}
.modern-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    margin-left: auto;
}

.modern-accordion .accordion-body {
    padding: 1.5rem 2rem 2rem 4.5rem; /* Indented to align with text, not number */
    color: var(--text-gray);
    line-height: 1.8;
    border-top: 1px solid var(--light-gray);
}

/* =============================================
   PARTNERS MARQUEE SECTION
============================================== */
.partners-marquee-section {
    background: var(--pure-white);
    overflow: hidden;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
}

.partner-card {
    background: var(--pure-white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--coral);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.partner-img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); } /* Moves by 1/3 since we tripled the items */
}

/* =============================================
   VIDEO POPUP (Modernized)
============================================== */
.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-popup-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-close-btn:hover {
    color: var(--coral);
    transform: rotate(90deg);
}

/* =============================================
   RESPONSIVE ADJUSTMENTS
============================================== */
@media (max-width: 991px) {
    .faq-content-wrapper {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .modern-accordion .accordion-body {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq-page-section {
        padding: 3rem 0;
    }
    
    .faq-contact-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-content-wrapper {
        padding: 1.5rem;
    }
    
    .modern-accordion .accordion-button {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .faq-number {
        font-size: 1.2rem;
        min-width: 25px;
    }
    
    .video-close-btn {
        top: -40px;
        right: 0;
        font-size: 1.5rem;
    }
}