/* Cinematic FAQ Widget Styles */
:root {
    --toonz-amber: #E87722;
    --toonz-amber-soft: rgba(232, 119, 34, 0.1);
    --toonz-text-dark: #1a1a1a;
    --toonz-text-light: #666666;
    --cf-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-faq-wrapper {
    display: flex;
    gap: 240px;
    align-items: center;
    padding: 100px 0;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Left Section */
.cf-left {
    flex: 0 0 500px;
}

.cf-title-wrap {
    margin-bottom: 60px;
}

.cf-eyebrow {
    font-family: inherit;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
    color: var(--toonz-text-dark);
}

.cf-main-title {
    font-family: inherit;
    font-weight: 800;
    font-size: 100px;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--toonz-text-dark);
    margin: 0;
    display: flex;
    align-items: baseline;
}

.cf-dot {
    width: 20px;
    height: 20px;
    background-color: var(--toonz-amber);
    display: inline-block;
    border-radius: 50%;
    margin-left: 10px;
}

/* FAQ List */
.cf-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.cf-faq-item {
    display: flex;
    gap: 15px;
    position: relative;
}

.cf-icon-column {
    flex: 0 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 10px;
}

.cf-icon-circle {
    width: 60px;
    height: 60px;
    background: #f6f0e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: var(--cf-transition);
    position: relative;
    z-index: 2;
    border: 1px solid #e67525 !important;
}

.cf-icon-circle img.cf-custom-icon,
.cf-icon-circle i,
.cf-icon-circle svg {
    width: 40px;
    height: 40px;
    font-size: 28px;
    object-fit: contain;
    color: var(--toonz-amber);
    transition: var(--cf-transition);
}

.cf-line-wrap {
    display: flex;
    align-items: center;
    position: absolute;
    left: 60px;
    top: 40px;
    /* Aligned with the center of the 60px circle + 10px padding-top */
    width: 70px;
    /* Total length of connector before content */
    pointer-events: none;
}

.cf-icon-line {
    flex: 1;
    height: 1px;
    background: #e67525;
    opacity: 0.6;
    transition: var(--cf-transition);
}

.cf-icon-dot {
    width: 6px;
    height: 6px;
    background: #e67525;
    border-radius: 50%;
    margin-left: -2px;
    transition: var(--cf-transition);
}

/* Hover States for Icon */
.cf-faq-item:hover .cf-icon-circle {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(232, 119, 34, 0.15);
}

.cf-faq-item:hover .cf-icon-line {
    opacity: 1;
}

.cf-faq-item:hover .cf-icon-dot {
    transform: scale(1.3);
}

/* Content Area */
.cf-content {
    flex: 1;
    padding-top: 25px;
    /* Aligned with question text in design */
    padding-left: 80px;
    /* Accounts for the 70px line + gap */
}

.cf-question-btn {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--toonz-text-dark);
    margin-bottom: 10px;
    display: block;
    transition: var(--cf-transition);
}

.cf-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cf-faq-item.is-active .cf-answer-wrap {
    max-height: 500px;
}

.cf-answer-inner {
    font-size: 15px;
    line-height: 1.6;
    color: var(--toonz-text-light);
    padding-bottom: 20px;
}

/* Right Section - Single Image */
.cf-right {
    flex: 1.2;
    position: relative;
    height: auto;
    min-height: 600px;
}

.cf-image-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 30px;
    position: relative;
    transition: var(--cf-transition);
    border: none !important;
    box-shadow: none !important;
}

.cf-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cf-image-container:hover img {
    transform: scale(1.05);
}

/* Optional Overlay for cinematic feel */
.cf-image-container::after {
    content: '';
    position: absolute;
    inset: 0;

    pointer-events: none;
}

/* Decorative Dots */
.cf-dots {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#d1d1d1 1.5px, transparent 0);
    background-size: 10px 10px;
    z-index: -1;
}

/* Responsive */
@media (max-width: 1024px) {
    .cinematic-faq-wrapper {
        flex-direction: column;
        padding: 40px 20px;
    }

    .cf-right {
        width: 100%;
        height: 500px;
    }

    .cf-main-title {
        font-size: 60px;
    }
}