/**
 * Why Choose Accordion – Stylesheet
 * assets/css/why-choose-accordion.css
 */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
.wca-widget {
    width: 100%;
    box-sizing: border-box;
}

/* ── Two-column inner ─────────────────────────────────────────────────────── */
.wca-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* ── Columns ──────────────────────────────────────────────────────────────── */
.wca-col {
    flex: 1 1 50%;
    min-width: 0;
}

/* ── DEFAULT: Text Left | Image Right ─────────────────────────────────────── */
.wca-col-text  { order: 1; }
.wca-col-image { order: 2; }

/* ── REVERSED: Image Left | Text Right ───────────────────────────────────── */
.wca-widget.wca-reverse .wca-col-text  { order: 2; }
.wca-widget.wca-reverse .wca-col-image { order: 1; }

/* ── Title ────────────────────────────────────────────────────────────────── */
.wca-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a2b4a;
    line-height: 1.2;
    margin: 0 0 16px;
}

/* ── Description ──────────────────────────────────────────────────────────── */
.wca-description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px;
}

/* ── Accordion wrapper ────────────────────────────────────────────────────── */


/* ── Single item ──────────────────────────────────────────────────────────── */
.wca-accordion-item:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

/* ── Header row ───────────────────────────────────────────────────────────── */
.wca-item-header {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 0;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.wca-item-header:focus-visible {
    outline: 2px solid #1a2b4a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Icon circle ──────────────────────────────────────────────────────────── */
.wca-item-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #001C38;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wca-item-icon-wrap i {
    font-size: 22px;
    color: #444;
    line-height: 1;
}

.wca-item-icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: #001C38;
}

/* ── Item title ───────────────────────────────────────────────────────────── */
.wca-item-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #1a2b4a;
    margin: 0;
    line-height: 1.4;
}

/* ── Chevron ──────────────────────────────────────────────────────────────── */
.wca-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    color: #555;
    transition: transform 0.3s ease;
}

.wca-accordion-item.is-open .wca-chevron {
    transform: rotate(180deg);
}
.wca-chevron svg {
    width: 22px;
    height: 22px;
}
/* ── Item body ────────────────────────────────────────────────────────────── */
.wca-item-body {
    display: none;
    padding: 0 0 18px 103px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.wca-item-body p {
    margin: 0 0 8px;
}
.wca-item-body p:last-child {
    margin-bottom: 0;
}

/* ── Image panel ──────────────────────────────────────────────────────────── */
.wca-image-panel {
    /*background-color: #1b2f57;*/
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 24px;
    box-sizing: border-box;
}

.wca-image-panel img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 480px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .wca-inner { gap: 36px; }
    .wca-title  { font-size: 30px; }
}

@media (max-width: 768px) {
    /* Stack vertically on mobile – always text first, image second */
    .wca-inner {
        flex-direction: column;
        gap: 32px;
    }

    .wca-col {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Reset order on mobile so text is always on top */
    .wca-col-text,
    .wca-widget.wca-reverse .wca-col-text  { order: 1; }
    .wca-col-image,
    .wca-widget.wca-reverse .wca-col-image { order: 2; }

    .wca-title { font-size: 26px; }

    .wca-image-panel { min-height: 280px; }

    .wca-item-body { padding-left: 0; }
	.wca-item-icon-wrap svg {
    width: 18px;
    height: 18px;
}
	.wca-item-icon-wrap {
    width: 40px;
    height: 40px;
}
	.wca-item-header {
    gap: 15px;
    padding: 14px 0;
}
}
