/* =========================
   MAIN WRAPPER
========================= */

.vertical-tabs {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    display: flex;
    gap: 22px;
    align-items: stretch;
}

/* =========================
   LEFT TAB MENU
========================= */

.tabs-menu {
    width: 285px;
    flex: 0 0 285px;
}

.tab-button {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-bottom: 2px solid #fff;
    background: #080b55;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

    .tab-button:hover {
        background: #555d62;
    }

    .tab-button.active {
        background: #df7008;
    }

    /* Arrow */

    .tab-button .arrow {
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 7px solid #ffffff;
        transition: transform 0.3s ease;
    }

    .tab-button.active .arrow {
        transform: rotate(90deg) !important;
    }


/* =========================
   RIGHT CONTENT
========================= */

.tabs-content {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 10px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.35s ease;
}

    .tab-panel.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   IMAGE
========================= */

.tab-image {
    width: 100%;
    border: 1px solid #cccccc;
    padding: 8px;
    margin-bottom: 28px;
}

    .tab-image img {
        display: block;
        width: 100%;
        height: 295px;
        object-fit: cover;
    }


/* =========================
   CONTENT
========================= */

.tab-panel h2 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    /*padding-bottom: 14px;
    margin-bottom: 22px;

    border-bottom: 1px solid #dddddd;*/
}

.tab-panel h3 {
    color: #e52d4f;
    font-size: 19px;
    margin-bottom: 8px;
}

.tab-panel p {
    color: #26334b;
    font-size: 14px;
    line-height: 1.8;
    margin-left: 0;
    margin-bottom: 5px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .vertical-tabs {
        padding: 0 15px;
        gap: 15px;
    }

    .tabs-menu {
        width: 220px;
        flex-basis: 220px;
    }

    .tabs-content {
        padding: 20px;
    }

    .tab-image img {
        height: 250px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .vertical-tabs {
        display: block;
        padding: 10px;
        margin: 10px auto;
    }

    .tabs-menu {
        width: 100%;
        margin-bottom: 15px;
    }

    .tab-button {
        min-height: 48px;
        font-size: 14px;
    }

    .tabs-content {
        width: 100%;
        padding: 15px;
    }

    .tab-image {
        padding: 6px;
        margin-bottom: 20px;
    }

        .tab-image img {
            height: 210px;
        }

    .tab-panel h2 {
        font-size: 19px;
    }

    .tab-panel h3 {
        font-size: 18px;
    }

    .tab-panel p {
        font-size: 13px;
        margin-left: 0;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .vertical-tabs {
        padding: 7px;
    }

    .tab-button {
        min-height: 46px;
        font-size: 13px;
        padding: 0 14px;
    }

    .tabs-content {
        padding: 12px;
    }

    .tab-image img {
        height: 180px;
    }

    .tab-panel h2 {
        font-size: 18px;
    }

    .tab-panel h3 {
        font-size: 17px;
    }
}
