/* =========================================================
   Website Design FAQ
   Premium Responsive CSS
   Unique Prefix: wd-design-faq-
   ========================================================= */

.wd-design-faq {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    background: #f5f9ff;
    background-size: cover;
    background-repeat: no-repeat;
    color: #172b4d;
}

.wd-design-faq > .container {
    position: relative;
    z-index: 2;
}

.wd-design-faq-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #071b3a;
    pointer-events: none;
}


/* =========================================================
   Header
   ========================================================= */

.wd-design-faq-header {
    max-width: 820px;
    margin: 0 auto 55px;
}

.wd-design-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 17px;
    border: 1px solid rgba(8, 102, 216, 0.14);
    border-radius: 50px;
    background: #ffffff;
    color: #0866d8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(25, 71, 120, 0.07);
}

.wd-design-faq-heading {
    margin: 0 0 16px;
    color: #102a56;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.wd-design-faq-description {
    max-width: 730px;
    margin: 0 auto;
    color: #667891;
    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   Main Layout
   ========================================================= */

.wd-design-faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr);
    align-items: start;
    gap: 55px;
}


/* =========================================================
   Information Panel
   ========================================================= */

.wd-design-faq-info {
    position: relative;
    overflow: hidden;
    padding: 35px;
    border: 1px solid rgba(8, 102, 216, 0.10);
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        #eaf5ff 0%,
        #ffffff 100%
    );
    box-shadow: 0 20px 50px rgba(25, 71, 120, 0.09);
}

.wd-design-faq-info::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -75px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(8, 102, 216, 0.08);
}

.wd-design-faq-info::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
}


/* =========================================================
   Info Visual
   ========================================================= */

.wd-design-faq-info-visual {
    position: relative;
    height: 175px;
    margin-bottom: 25px;
}

.wd-design-faq-question-bubble {
    position: absolute;
    top: 10px;
    left: 25px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #ffffff;
    color: #0866d8;
    font-size: 43px;
    box-shadow: 0 18px 40px rgba(25, 71, 120, 0.12);
}

.wd-design-faq-question-bubble::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px dashed rgba(8, 102, 216, 0.20);
    border-radius: 50%;
}

.wd-design-faq-info-circle {
    position: absolute;
    right: 35px;
    bottom: 5px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border: 7px solid #ffffff;
    border-radius: 50%;
    background: #0866d8;
    color: #ffffff;
    font-size: 25px;
    box-shadow: 0 15px 35px rgba(8, 102, 216, 0.25);
}


/* =========================================================
   Info Content
   ========================================================= */

.wd-design-faq-info-content {
    position: relative;
    z-index: 4;
}

.wd-design-faq-info-label {
    display: inline-block;
    margin-bottom: 9px;
    color: #0866d8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.wd-design-faq-info-content h3 {
    margin: 0 0 13px;
    color: #172b4d;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.wd-design-faq-info-content p {
    margin: 0;
    color: #687991;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   Info Points
   ========================================================= */

.wd-design-faq-info-points {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 13px;
    margin-top: 27px;
}

.wd-design-faq-info-point {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wd-design-faq-info-point > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #ffffff;
    color: #0866d8;
    font-size: 14px;
    box-shadow: 0 7px 20px rgba(25, 71, 120, 0.08);
}

.wd-design-faq-info-point strong {
    display: block;
    margin-bottom: 2px;
    color: #243a59;
    font-size: 13px;
    font-weight: 750;
}

.wd-design-faq-info-point small {
    display: block;
    color: #7a899c;
    font-size: 11px;
}


/* =========================================================
   FAQ Accordion
   ========================================================= */

.wd-design-faq-accordion {
    display: grid;
    gap: 13px;
}

.wd-design-faq-item {
    overflow: hidden;
    border: 1px solid #e1eaf4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(25, 71, 120, 0.055);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.wd-design-faq-item:hover {
    border-color: rgba(8, 102, 216, 0.18);
}

.wd-design-faq-item-active {
    border-color: rgba(8, 102, 216, 0.25);
    box-shadow: 0 13px 35px rgba(25, 71, 120, 0.09);
}


/* =========================================================
   Question Button
   ========================================================= */

.wd-design-faq-question {
    display: grid;
    grid-template-columns: 35px 40px minmax(0, 1fr) 35px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 75px;
    padding: 14px 18px;
    border: 0;
    background: #ffffff;
    color: #172b4d;
    text-align: left;
    cursor: pointer;
}

.wd-design-faq-question:focus-visible {
    outline: 3px solid rgba(8, 102, 216, 0.22);
    outline-offset: -3px;
}

.wd-design-faq-number {
    color: #8b9bae;
    font-size: 12px;
    font-weight: 800;
}

.wd-design-faq-question-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #edf6ff;
    color: #0866d8;
    font-size: 15px;
}

.wd-design-faq-question-text {
    color: #253b59;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.wd-design-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #61748b;
    font-size: 10px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.wd-design-faq-item-active
.wd-design-faq-toggle {
    transform: rotate(180deg);
    background: #0866d8;
    color: #ffffff;
}


/* =========================================================
   Answer
   ========================================================= */

.wd-design-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 18px 0 87px;
    opacity: 0;
    transition:
        grid-template-rows 0.3s ease,
        opacity 0.25s ease,
        padding 0.3s ease;
}

.wd-design-faq-answer[hidden] {
    display: grid;
}

.wd-design-faq-answer-open {
    grid-template-rows: 1fr;
    padding-bottom: 21px;
    opacity: 1;
}

.wd-design-faq-answer-inner {
    min-height: 0;
    overflow: hidden;
    color: #687991;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   CTA
   ========================================================= */

.wd-design-faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding: 28px 30px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #0866d8 0%,
        #0758ba 100%
    );
    box-shadow: 0 20px 45px rgba(8, 102, 216, 0.22);
}

.wd-design-faq-cta-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wd-design-faq-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 51px;
    width: 51px;
    height: 51px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 20px;
}

.wd-design-faq-cta-content h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
}

.wd-design-faq-cta-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.55;
}

.wd-design-faq-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 9px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #ffffff;
    color: #0866d8;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.wd-design-faq-cta-button:hover {
    transform: translateY(-2px);
    color: #0758ba;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   Background Image Mode
   ========================================================= */

.wd-design-faq[style*="background-image"]
.wd-design-faq-heading {
    color: #ffffff;
}

.wd-design-faq[style*="background-image"]
.wd-design-faq-description {
    color: rgba(255, 255, 255, 0.82);
}

.wd-design-faq[style*="background-image"]
.wd-design-faq-badge {
    background: rgba(255, 255, 255, 0.96);
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991.98px) {

    .wd-design-faq {
        padding: 78px 0;
    }

    .wd-design-faq-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .wd-design-faq-info {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr);
        column-gap: 25px;
        padding: 28px;
    }

    .wd-design-faq-info-visual {
        grid-row: span 2;
        height: 190px;
        margin-bottom: 0;
    }

    .wd-design-faq-info-points {
        grid-column: 2;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 22px;
    }

    .wd-design-faq-info-point {
        align-items: flex-start;
    }

    .wd-design-faq-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .wd-design-faq-cta-button {
        width: 100%;
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 575.98px) {

    .wd-design-faq {
        padding: 60px 0;
    }

    .wd-design-faq-header {
        margin-bottom: 38px;
    }

    .wd-design-faq-heading {
        font-size: 31px;
        letter-spacing: -0.4px;
    }

    .wd-design-faq-description {
        font-size: 15px;
        line-height: 1.65;
    }

    .wd-design-faq-info {
        display: block;
        padding: 23px;
        border-radius: 18px;
    }

    .wd-design-faq-info-visual {
        height: 145px;
        margin-bottom: 20px;
    }

    .wd-design-faq-question-bubble {
        left: 15px;
        width: 88px;
        height: 88px;
        font-size: 34px;
    }

    .wd-design-faq-info-circle {
        right: 20px;
        width: 68px;
        height: 68px;
        border-width: 5px;
        font-size: 20px;
    }

    .wd-design-faq-info-content h3 {
        font-size: 21px;
    }

    .wd-design-faq-info-points {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .wd-design-faq-question {
        grid-template-columns: 28px 36px minmax(0, 1fr) 30px;
        gap: 8px;
        min-height: 70px;
        padding: 12px 13px;
    }

    .wd-design-faq-question-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 13px;
    }

    .wd-design-faq-question-text {
        font-size: 13.5px;
    }

    .wd-design-faq-toggle {
        width: 29px;
        height: 29px;
    }

    .wd-design-faq-answer {
        padding-left: 71px;
        padding-right: 15px;
    }

    .wd-design-faq-answer-open {
        padding-bottom: 17px;
    }

    .wd-design-faq-answer-inner {
        font-size: 13px;
    }

    .wd-design-faq-cta {
        margin-top: 35px;
        padding: 22px;
        border-radius: 17px;
    }

    .wd-design-faq-cta-content {
        align-items: flex-start;
    }

    .wd-design-faq-cta-content h3 {
        font-size: 17px;
    }

    .wd-design-faq-cta-content p {
        font-size: 12.5px;
    }

}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .wd-design-faq-item,
    .wd-design-faq-toggle,
    .wd-design-faq-answer,
    .wd-design-faq-cta-button {
        transition: none;
    }

}