/* ============================================================
   IMAGE TO BASE64 — TOOL STYLES
   Split layout: drop zone <-> gallery panel + base64 modal
   ============================================================ */

/* Section wrapper */
.hero_section .uploading__section_base {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 10px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
    min-height: 320px;
    position: relative;
}


/* STATE 1 — Full-width drop zone */
.itb__dropzone {
    width: min(700px, 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.38s cubic-bezier(.4,0,.2,1),
                transform 0.38s cubic-bezier(.4,0,.2,1);
}

.itb__dropzone.itb--hidden {
    opacity: 0;
    transform: translateX(-50%) scale(0.96) translateY(-12px);
    pointer-events: none;
}

.itb__dropzone__inner {
    background-color: var(--header-bg);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    border: 2px dashed transparent;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    cursor: pointer;
}

.itb__dropzone__inner.itb--dragover {
    border-color: var(--primary-color);
    background: #f3f4fe;
    transform: scale(1.015);
}

[data-theme="dark"] .itb__dropzone__inner.itb--dragover {
    background: #1a1d30;
}

.itb__icon__ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef0fd 0%, #e0e3fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-color);
    animation: itbFloat 3.2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(99,102,241,0.18);
    transition: transform 0.25s;
    margin-bottom: 4px;
}

.itb__dropzone__inner.itb--dragover .itb__icon__ring {
    transform: scale(1.12);
    box-shadow: 0 12px 32px rgba(99,102,241,0.32);
}

[data-theme="dark"] .itb__icon__ring {
    background: linear-gradient(135deg, #1e2240 0%, #252a50 100%);
}

@keyframes itbFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.itb__dropzone__inner h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text);
    margin: 0;
}

.itb__dropzone__inner p {
    font-size: 12px;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

.itb__choose__btn {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}


/* STATE 2 — Split layout */
.itb__split__layout {
    width: min(860px, 100%);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.42s cubic-bezier(.22,1,.36,1),
                transform 0.42s cubic-bezier(.22,1,.36,1),
                visibility 0s linear 0.42s;
}

.itb__split__layout.itb--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.42s cubic-bezier(.22,1,.36,1),
                transform 0.42s cubic-bezier(.22,1,.36,1),
                visibility 0s linear 0s;
}


/* LEFT: mini upload zone */
.itb__split__left {
    flex: 0 0 210px;
    min-width: 0;
}

.itb__mini__drop {
    background-color: var(--header-bg);
    border-radius: 18px;
    box-shadow: var(--box-shadow);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: 2px dashed transparent;
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    min-height: 200px;
    justify-content: center;
}

.itb__mini__drop.itb--dragover {
    border-color: var(--primary-color);
    background: #f3f4fe;
    transform: scale(1.02);
}

[data-theme="dark"] .itb__mini__drop.itb--dragover {
    background: #1a1d30;
}

.itb__mini__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef0fd 0%, #e0e3fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    animation: itbFloat 3.2s ease-in-out infinite;
    box-shadow: 0 6px 16px rgba(99,102,241,0.16);
}

[data-theme="dark"] .itb__mini__icon {
    background: linear-gradient(135deg, #1e2240 0%, #252a50 100%);
}

.itb__mini__drop p {
    font-size: 11px;
    color: var(--gray-text);
    line-height: 1.7;
    margin: 0;
}

.itb__add__btn {
    padding: 7px 16px;
    border-radius: 10px;
    border: 1px dashed #C7D2FE;
    background: #F3F5FF;
    color: #5B6CFF;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    margin-top: 2px;
}

.itb__add__btn:hover {
    background: #EEF1FF;
    border-color: #9FB0FF;
    transform: translateY(-1px);
}

[data-theme="dark"] .itb__add__btn {
    background: #1b2035;
    border-color: #3b4580;
    color: #818cf8;
}


/* RIGHT: gallery panel */
.itb__split__right {
    flex: 1;
    min-width: 0;
    width: 100%;
    background-color: var(--header-bg);
    border-radius: 18px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
}

.itb__gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--divider);
    flex-shrink: 0;
}

.itb__gallery__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.itb__count__badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    transition: transform 0.2s cubic-bezier(.34,1.56,.64,1);
}

.itb__count__badge.itb--bump {
    transform: scale(1.35);
}

.itb__gallery__list {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    /* flex: 1; */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--divider) transparent;
}

.itb__gallery__list::-webkit-scrollbar { width: 4px; }
.itb__gallery__list::-webkit-scrollbar-track { background: transparent; }
.itb__gallery__list::-webkit-scrollbar-thumb { background: var(--divider); border-radius: 4px; }


/* Image card */
@keyframes itbCardEnter {
    0%   { opacity: 0; transform: translateX(-20px) scale(0.95); }
    60%  { opacity: 1; transform: translateX(3px)   scale(1.01); }
    100% { opacity: 1; transform: translateX(0)     scale(1); }
}

@keyframes itbCardExit {
    0%   { opacity: 1; transform: translateX(0)     scale(1);    max-height: 80px; margin-bottom: 0; }
    40%  { opacity: 0; transform: translateX(40px)  scale(0.95); max-height: 80px; }
    100% { opacity: 0; transform: translateX(40px)  scale(0.95); max-height: 0;    margin-bottom: -7px; padding: 0; }
}

@keyframes itbShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.itb__card {
    background: var(--upcard);
    border: 1px solid var(--divider);
    border-radius: 13px;
    padding: 10px 12px;
    max-height: 70px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: itbCardEnter 0.48s cubic-bezier(.22,1,.36,1) both;
    overflow: hidden;
    position: relative;
    transition: border-color 0.2s, transform 0.2s;

    min-height: 64px;          /* stable height */
    height: auto;              /* allow expansion */
    max-height: unset;         /* remove clipping */
}

.itb__card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.itb__card:hover {
    border-color: #c7d2fe;
    transform: translateX(3px);
}

.itb__card:hover::before {
    opacity: 1;
}

.itb__card.itb--removing {
    animation: itbCardExit 0.38s cubic-bezier(.55,0,.1,1) forwards;
    pointer-events: none;
}

.itb__card__thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--divider);
    flex-shrink: 0;
}

.itb__card__info {
    flex: 1;
    min-width: 0;
}

.itb__card__name {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.itb__card__meta {
    font-size: 11px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.itb__card__size__badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #22c55e;
    font-weight: 600;
}

.itb__card__actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.itb__action__btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--divider);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-text);
    transition: all 0.2s ease;
}

.itb__action__btn--code { color: var(--primary-color); }

.itb__action__btn--code:hover {
    background: #eef0fd;
    border-color: #c7d2fe;
    color: var(--primary-color);
    transform: scale(1.1);
}

.itb__action__btn--del:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
    transform: scale(1.1);
}

.itb__card__progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--divider);
    overflow: hidden;
    border-radius: 0 0 13px 13px;
}

.itb__card__progress__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    border-radius: inherit;
    transition: width 1.1s cubic-bezier(.22,1,.36,1);
}


/* BASE64 MODAL */
.itb__modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.itb__modal__overlay.itb--open {
    opacity: 1;
    pointer-events: auto;
}

.itb__modal {
    background: var(--header-bg);
    border-radius: 22px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22);
    width: 100%;
    max-width: 580px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(28px) scale(0.96);
    transition: transform 0.38s cubic-bezier(.22,1,.36,1);
}

.itb__modal__overlay.itb--open .itb__modal {
    transform: translateY(0) scale(1);
}

.itb__modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--divider);
    flex-shrink: 0;
}

.itb__modal__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
}

.itb__modal__title i {
    color: var(--primary-color);
    font-size: 18px;
}

.itb__modal__close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--divider);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-text);
    transition: all 0.2s;
}

.itb__modal__close:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
}

.itb__modal__body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--divider) transparent;
}

.itb__modal__preview__wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--section-bg);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--divider);
}

.itb__modal__preview {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--divider);
    flex-shrink: 0;
}

.itb__modal__file__info {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.8;

    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.itb__modal__file__info strong {
    color: var(--primary-text);
    font-weight: 600;
    display: block;
    font-size: 13px;
    
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.itb__modal__tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.itb__tab {
    padding: 5px 14px;
    border-radius: 8px;
    border: 1px solid var(--divider);
    background: transparent;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.2s;
}

.itb__tab:hover {
    border-color: #c7d2fe;
    color: var(--primary-color);
}

.itb__tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.itb__output__box {
    position: relative;
    border: 1px solid var(--divider);
    border-radius: 12px;
    overflow: hidden;
    background: var(--section-bg);
}

.itb__output__textarea {
    width: 100%;
    height: 160px;
    padding: 12px 14px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--primary-text);
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    line-height: 1.6;
    word-break: break-all;
}

.itb__modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.itb__copy__btn {
    padding: 10px 22px;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 24px rgba(99,102,241,0.25);
    transition: all 0.2s ease;
}

.itb__copy__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(99,102,241,0.35);
}

.itb__copy__btn:active { transform: scale(0.97); }

.itb__copy__btn--secondary {
    background: var(--section-bg);
    color: var(--primary-text);
    border: 1px solid var(--divider);
    box-shadow: none;
}

.itb__copy__btn--secondary:hover {
    border-color: #c7d2fe;
    color: var(--primary-color);
    box-shadow: none;
}

.itb__copy__btn.itb--copied {
    background: #22c55e;
    box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}


/* RESPONSIVE */
@media (max-width: 620px) {
    .itb__split__layout { flex-direction: column; }

    .itb__split__left {
        flex: none;
        width: 100%;
    }

    .itb__mini__drop {
        flex-direction: row;
        min-height: auto;
        justify-content: flex-start;
        padding: 14px 16px;
        gap: 12px;
        text-align: left;
    }

    .itb__mini__icon { animation: none; flex-shrink: 0; }
}


/* ============================================================
   RESPONSIVE — IMAGE TO BASE64 TOOL
   ============================================================ */

/* ── Tablet landscape (≤900px) ──────────────────────────── */
@media screen and (max-width: 900px) {

    .itb__split__layout {
        width: min(700px, 100%);
    }

    .itb__split__left {
        flex: 0 0 180px;
    }
}


/* ── Tablet portrait (≤750px) ───────────────────────────── */
@media screen and (max-width: 750px) {

    /* section spacing */
    .hero_section .uploading__section_base {
        padding: 10px 12px;
        margin-top: 20px;
        min-height: 260px;
    }


    /* full dropzone smaller */
    .itb__dropzone__inner {
        height: 240px;
        border-radius: 16px;
        padding: 30px;
        gap: 8px;
    }

    .itb__icon__ring {
        width: 58px;
        height: 58px;
        font-size: 22px;
    }

    .itb__dropzone__inner h3 {
        font-size: 14px;
    }

    /* split layout stacks vertically */
    .itb__split__layout {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    /* left panel becomes horizontal bar */
    .itb__split__left {
        flex: none;
        width: 100%;
    }

    .itb__mini__drop {
        flex-direction: row;
        min-height: auto;
        justify-content: space-between;
        padding: 14px 18px;
        gap: 14px;
        text-align: left;
        border-radius: 14px;
    }

    .itb__mini__icon {
        animation: none;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .itb__mini__drop p {
        flex: 1;
        font-size: 11px;
    }

    .itb__add__btn {
        flex-shrink: 0;
    }

    /* right panel full width */
    .itb__split__right {
        border-radius: 14px;
        height: 300px;
    }

    /* modal sizing */
    .itb__modal {
        border-radius: 18px;
        max-height: 92vh;
    }

    .itb__modal__preview__wrap {
        padding: 10px;
    }

    .itb__modal__preview {
        width: 56px;
        height: 56px;
    }
}


/* ── Mobile (≤580px) ────────────────────────────────────── */
@media screen and (max-width: 580px) {

    .hero_section .uploading__section_base {
        padding: 8px 10px;
        margin-top: 16px;
        min-height: 220px;
    }

    /* dropzone */
    .itb__dropzone__inner {
        height: 210px;
        border-radius: 14px;
        padding: 18px 14px;
        gap: 7px;
    }

    .itb__icon__ring {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 0;
    }

    .itb__dropzone__inner h3 { font-size: 13px; }
    .itb__dropzone__inner p  { font-size: 11px; }

    .itb__choose__btn {
        padding: 8px 18px;
        font-size: 12px;
    }

    /* mini drop */
    .itb__mini__drop {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }

    .itb__mini__icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    /* cards */
    .itb__card {
        padding: 8px 10px;
        border-radius: 11px;
        gap: 8px;
    }

    .itb__card__thumb {
        width: 36px;
        height: 36px;
        border-radius: 7px;
    }

    .itb__card__name { font-size: 11px; }
    .itb__card__meta { font-size: 10px; }

    .itb__action__btn {
        width: 27px;
        height: 27px;
        font-size: 12px;
        border-radius: 7px;
    }

    /* gallery */
    .itb__gallery__header { padding: 12px 14px 10px; }
    .itb__gallery__list   { padding: 8px 10px; }
    .itb__split__right    { height: 280px; }

    /* modal */
    .itb__modal__overlay { padding: 12px; }
    .itb__modal          { border-radius: 16px; }
    .itb__modal__head    { padding: 13px 16px; }
    .itb__modal__body    { padding: 14px 16px; gap: 11px; }

    .itb__modal__preview { width: 48px; height: 48px; border-radius: 8px; }
    .itb__modal__file__info { font-size: 11px; }
    .itb__modal__file__info strong { font-size: 12px; }

    .itb__modal__tabs { gap: 5px; }
    .itb__tab {
        padding: 4px 11px;
        font-size: 10px;
        border-radius: 7px;
    }

    .itb__output__textarea {
        height: 130px;
        font-size: 10px;
        padding: 10px 12px;
    }

    .itb__modal__actions { gap: 8px; }
    .itb__copy__btn {
        padding: 9px 16px;
        font-size: 12px;
        border-radius: 10px;
        flex: 1;
        justify-content: center;
    }
}


/* ── Small mobile (≤420px) ──────────────────────────────── */
@media screen and (max-width: 420px) {

    .hero_section .uploading__section_base {
        padding: 6px 8px;
        min-height: 190px;
    }

    .itb__dropzone__inner {
        height: 250px;
        border-radius: 12px;
        padding: 14px 12px;
    }

    .itb__icon__ring {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .itb__mini__drop {
        padding: 10px 12px;
        border-radius: 11px;
    }

    .itb__mini__drop p { display: none; } /* hide text on very small screens */

    .itb__split__right { height: 260px; }

    /* modal tabs wrap neatly */
    .itb__modal__tabs { gap: 4px; }
    .itb__tab { padding: 4px 9px; }

    /* stacked action buttons */
    .itb__modal__actions {
        flex-direction: column;
    }

    .itb__copy__btn {
        width: 100%;
        justify-content: center;
    }

    .itb__output__textarea { height: 110px; }
}


/* ── Extra small (≤360px) ───────────────────────────────── */
@media screen and (max-width: 360px) {

    .itb__dropzone__inner h3 { font-size: 12px; }

    .itb__card__thumb {
        width: 30px;
        height: 30px;
    }

    .itb__card__actions { gap: 4px; }

    .itb__action__btn {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}




/* IMAGE TO BASE64 - HOW TO USE SECTION */
.itb__howto__section {
    margin-top: 30px;
    padding: 70px 0 80px;
    /* background: linear-gradient(180deg, transparent 0%, var(--section-bg) 48%, transparent 100%); */
    background-color: var(--section-bg);
}

.itb__howto__head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.itb__howto__label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.itb__howto__head h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 10px;
}

.itb__howto__head h2 span {
    color: var(--primary-color);
}

.itb__howto__head p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
}

.itb__howto__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: stretch;
}

.itb__steps__panel,
.itb__howto__preview {
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 22px;
    box-shadow: var(--box-shadow);
}

.itb__steps__panel {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.itb__step__card {
    position: relative;
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 16px;
    background: var(--upcard);
    border: 1px solid var(--divider);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.itb__step__card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    background: var(--cardhover);
}

.itb__step__number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: #eef0fd;
    border-radius: 999px;
    padding: 6px 10px;
    line-height: 1;
}

.itb__step__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef0fd, #e0e3fc);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.16);
}

.itb__step__content h3 {
    font-size: 16px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 6px;
}

.itb__step__content p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.8;
}

.itb__howto__preview {
    padding: 20px;
    overflow: hidden;
}

.itb__preview__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.itb__preview__top span {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
}

.itb__preview__top h3 {
    font-size: 20px;
    color: var(--primary-text);
    font-weight: 700;
    margin-top: 4px;
}

.itb__preview__badge {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.28);
}

.itb__code__mockup {
    border-radius: 16px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 16px;
}

.itb__code__bar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.05);
}

.itb__code__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
}

.itb__code__bar span:nth-child(2) {
    background: #f59e0b;
}

.itb__code__bar span:nth-child(3) {
    background: #22c55e;
}

.itb__code__mockup pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
}

.itb__code__mockup code {
    color: #dbeafe;
    font-size: 12px;
    line-height: 1.8;
    font-family: "Courier New", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.itb__howto__tips {
    display: grid;
    gap: 10px;
}

.itb__tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 13px;
    background: var(--section-bg);
    border: 1px solid var(--divider);
    color: var(--primary-text);
    font-size: 13px;
    line-height: 1.6;
}

.itb__tip i {
    color: #22c55e;
    font-size: 18px;
    flex-shrink: 0;
}

[data-theme="dark"] .itb__howto__label,
[data-theme="dark"] .itb__step__number {
    background: #1e2240;
}

[data-theme="dark"] .itb__step__icon {
    background: linear-gradient(135deg, #1e2240, #252a50);
}

@media screen and (max-width: 850px) {
    .itb__howto__grid {
        grid-template-columns: 1fr;
    }

    .itb__howto__head h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 560px) {
    .itb__howto__section {
        padding: 48px 0 58px;
    }

    .itb__howto__head {
        margin-bottom: 24px;
    }

    .itb__howto__head h2 {
        font-size: 24px;
    }

    .itb__step__card {
        grid-template-columns: auto 1fr;
        padding: 15px;
    }

    .itb__step__number {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .itb__preview__top {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* IMAGE TO BASE64 - FEATURES SECTION */
.itb__features__section {
    padding: 72px 0;
    background: var(--body-background);
}

.itb__features__head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.itb__features__label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.itb__features__head h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 10px;
}

.itb__features__head h2 span {
    color: var(--primary-color);
}

.itb__features__head p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
}

.itb__features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itb__feature__card {
    position: relative;
    padding: 22px;
    min-height: 220px;
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.itb__feature__card::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    transition: transform 0.25s ease;
}

.itb__feature__card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.14);
}

.itb__feature__card:hover::after {
    transform: scale(1.18);
}

.itb__feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eef0fd;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.itb__feature__icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.itb__feature__icon.orange {
    background: #fff7ed;
    color: #f97316;
}

.itb__feature__icon.purple {
    background: #f5f3ff;
    color: #8b5cf6;
}

.itb__feature__icon.red {
    background: #fef2f2;
    color: #ef4444;
}

.itb__feature__icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.itb__feature__card h3 {
    font-size: 17px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 9px;
    position: relative;
    z-index: 1;
}

.itb__feature__card p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .itb__features__label,
[data-theme="dark"] .itb__feature__icon {
    background: #1e2240;
}

[data-theme="dark"] .itb__feature__icon.green {
    background: #0f2a20;
}

[data-theme="dark"] .itb__feature__icon.orange {
    background: #2a1a0f;
}

[data-theme="dark"] .itb__feature__icon.purple {
    background: #221936;
}

[data-theme="dark"] .itb__feature__icon.red {
    background: #2a1212;
}

[data-theme="dark"] .itb__feature__icon.blue {
    background: #101f36;
}

@media screen and (max-width: 900px) {
    .itb__features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .itb__features__head h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 560px) {
    .itb__features__section {
        padding: 50px 0;
    }

    .itb__features__grid {
        grid-template-columns: 1fr;
    }

    .itb__feature__card {
        min-height: auto;
        padding: 20px;
        border-radius: 16px;
    }

    .itb__features__head h2 {
        font-size: 24px;
    }
}




/* IMAGE TO BASE64 - CONTENT SECTION */
.itb__content__section {
    padding: 76px 0;
    /* background: linear-gradient(180deg, var(--section-bg), transparent); */
    background-color: var(--section-bg);
}

.itb__content__wrapper {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.itb__content__left {
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 24px;
    padding: 34px;
    box-shadow: var(--box-shadow);
}

.itb__content__label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.itb__content__left h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 14px;
}

.itb__content__left p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
    margin-bottom: 12px;
}

.itb__content__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.itb__content__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.itb__content__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(99, 102, 241, 0.34);
}

.itb__content__actions span {
    font-size: 13px;
    color: var(--gray-text);
}

.itb__content__right {
    display: grid;
    gap: 12px;
}

.itb__content__info__card,
.itb__content__mini__box {
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.itb__content__info__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.itb__content__info__card:hover {
    transform: translateX(5px);
    border-color: #c7d2fe;
}

.itb__info__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eef0fd;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.itb__info__icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.itb__info__icon.orange {
    background: #fff7ed;
    color: #f97316;
}

.itb__content__info__card h3 {
    font-size: 16px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 5px;
}

.itb__content__info__card p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.7;
}

.itb__content__mini__box span {
    display: block;
    font-size: 13px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 12px;
}

.itb__content__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.itb__content__chips small {
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--section-bg);
    border: 1px solid var(--divider);
    color: var(--gray-text);
    font-size: 12px;
    font-weight: 500;
}

[data-theme="dark"] .itb__content__label,
[data-theme="dark"] .itb__info__icon {
    background: #1e2240;
}

[data-theme="dark"] .itb__info__icon.green {
    background: #0f2a20;
}

[data-theme="dark"] .itb__info__icon.orange {
    background: #2a1a0f;
}

@media screen and (max-width: 860px) {
    .itb__content__wrapper {
        grid-template-columns: 1fr;
    }

    .itb__content__left h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 560px) {
    .itb__content__section {
        padding: 52px 0;
    }

    .itb__content__left {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .itb__content__left h2 {
        font-size: 24px;
    }

    .itb__content__info__card {
        padding: 15px;
        border-radius: 15px;
    }
}



/* IMAGE TO BASE64 - EXAMPLE SECTION */
.itb__example__section {
    padding: 72px 0;
    /* background-color: var(--section-bg); */
    /* background: var(--body-background); */
}

.itb__example__head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.itb__example__label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.itb__example__head h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 10px;
}

.itb__example__head h2 span {
    color: var(--primary-color);
}

.itb__example__head p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
}

.itb__example__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itb__example__card {
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.itb__example__card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.14);
}

.itb__example__top {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
}

.itb__example__icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #eef0fd;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.itb__example__icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.itb__example__icon.orange {
    background: #fff7ed;
    color: #f97316;
}

.itb__example__top h3 {
    font-size: 16px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 5px;
}

.itb__example__top p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.7;
}

.itb__example__code {
    border-radius: 15px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.itb__example__code pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
}

.itb__example__code code {
    color: #dbeafe;
    font-size: 12px;
    line-height: 1.8;
    font-family: "Courier New", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.itb__example__note {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef0fd, #f8fafc);
    border: 1px solid #e0e7ff;
}

.itb__example__note__icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #fff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.itb__example__note h3 {
    font-size: 16px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 5px;
}

.itb__example__note p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.8;
}

[data-theme="dark"] .itb__example__label,
[data-theme="dark"] .itb__example__icon {
    background: #1e2240;
}

[data-theme="dark"] .itb__example__icon.green {
    background: #0f2a20;
}

[data-theme="dark"] .itb__example__icon.orange {
    background: #2a1a0f;
}

[data-theme="dark"] .itb__example__note {
    background: linear-gradient(135deg, #161b26, #0f1420);
    border-color: #252a50;
}

[data-theme="dark"] .itb__example__note__icon {
    background: #1e2240;
}

@media screen and (max-width: 900px) {
    .itb__example__grid {
        grid-template-columns: 1fr;
    }

    .itb__example__head h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 560px) {
    .itb__example__section {
        padding: 50px 0;
    }

    .itb__example__head h2 {
        font-size: 24px;
    }

    .itb__example__card {
        padding: 16px;
        border-radius: 16px;
    }

    .itb__example__note {
        flex-direction: column;
        border-radius: 16px;
    }
}



/* IMAGE TO BASE64 - FAQ SECTION */
.itb__faq__section {
    padding: 72px 0;
    /* background: linear-gradient(180deg, var(--section-bg), transparent); */
    background-color: var(--section-bg);
}

.itb__faq__head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.itb__faq__label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.itb__faq__head h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 10px;
}

.itb__faq__head h2 span {
    color: var(--primary-color);
}

.itb__faq__head p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
}

.itb__faq__wrap {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.itb__faq__item {
    background: var(--header-bg);
    border: 1px solid var(--divider);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.itb__faq__item.active {
    border-color: #c7d2fe;
    box-shadow: 0 18px 45px rgba(99, 102, 241, 0.12);
}

.itb__faq__question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.itb__faq__question span {
    font-size: 15px;
    color: var(--primary-text);
    font-weight: 600;
    line-height: 1.5;
}

.itb__faq__question i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eef0fd;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.itb__faq__item.active .itb__faq__question i {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #fff;
}

.itb__faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s ease;
}

.itb__faq__answer p {
    padding: 0 20px 18px;
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.9;
}

[data-theme="dark"] .itb__faq__label,
[data-theme="dark"] .itb__faq__question i {
    background: #1e2240;
}

@media screen and (max-width: 560px) {
    .itb__faq__section {
        padding: 50px 0;
    }

    .itb__faq__head h2 {
        font-size: 24px;
    }

    .itb__faq__question {
        padding: 16px;
    }

    .itb__faq__question span {
        font-size: 14px;
    }

    .itb__faq__answer p {
        padding: 0 16px 16px;
    }
}


/* IMAGE TO BASE64 - RELATED TOOLS SECTION */
.itb__related__section {
    padding: 72px 0 84px;
    background: var(--body-background);
}

.itb__related__head {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.itb__related__label {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef0fd;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.itb__related__head h2 {
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary-text);
    font-weight: 700;
    margin-bottom: 10px;
}

.itb__related__head h2 span {
    color: var(--primary-color);
}

.itb__related__head p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--gray-text);
}

.itb__related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.itb__related__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 150px;
    padding: 20px;
    border-radius: 20px;
    background: var(--header-bg);
    border: 1px solid var(--divider);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.itb__related__card::before {
    content: "";
    position: absolute;
    inset: auto 18px 0 18px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.itb__related__card:hover {
    transform: translateY(-5px);
    border-color: #c7d2fe;
    box-shadow: 0 18px 50px rgba(99, 102, 241, 0.14);
}

.itb__related__card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.itb__related__icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #eef0fd;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.itb__related__icon.green {
    background: #ecfdf5;
    color: #10b981;
}

.itb__related__icon.orange {
    background: #fff7ed;
    color: #f97316;
}

.itb__related__icon.purple {
    background: #f5f3ff;
    color: #8b5cf6;
}

.itb__related__icon.red {
    background: #fef2f2;
    color: #ef4444;
}

.itb__related__icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.itb__related__card h3 {
    font-size: 16px;
    color: var(--primary-text);
    font-weight: 600;
    margin-bottom: 6px;
}

.itb__related__card p {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.7;
    padding-right: 8px;
}

.itb__related__arrow {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--section-bg);
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}

.itb__related__card:hover .itb__related__arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--primary-color);
    color: #fff;
}

[data-theme="dark"] .itb__related__label,
[data-theme="dark"] .itb__related__icon {
    background: #1e2240;
}

[data-theme="dark"] .itb__related__icon.green {
    background: #0f2a20;
}

[data-theme="dark"] .itb__related__icon.orange {
    background: #2a1a0f;
}

[data-theme="dark"] .itb__related__icon.purple {
    background: #221936;
}

[data-theme="dark"] .itb__related__icon.red {
    background: #2a1212;
}

[data-theme="dark"] .itb__related__icon.blue {
    background: #101f36;
}

@media screen and (max-width: 900px) {
    .itb__related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .itb__related__head h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 560px) {
    .itb__related__section {
        padding: 50px 0 60px;
    }

    .itb__related__grid {
        grid-template-columns: 1fr;
    }

    .itb__related__head h2 {
        font-size: 24px;
    }

    .itb__related__card {
        min-height: auto;
        padding: 18px;
        border-radius: 16px;
    }

    .itb__related__arrow {
        opacity: 1;
        transform: none;
    }
}