html,
body {
    overflow-x: hidden;
}

.main-sopt {
    font-size: 20px;
    color: #fff;
    background-color: rgba(26, 65, 55, 0.7);
}

.main-sopt-headline {
    height: 100px;
    font-size: 24px;
    color: #fff;
}

.fs-7 {
    font-size: 14px;
}

.choose-section .content-column .inner-column {
    max-width: 100%;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #FF5F00 !important;
    font-weight: bold;
}

.buying-premium {
    min-width: 1344px;
}

.buying-premium .nav {
    margin: 30px 0;
}

.buying-premium .nav-tabs .nav-link {
    color: #000000;
}

.buying-premium .nav-pills .nav-link.active,
.buying-premium .nav-pills .nav-link {
    background-color: var(--theme-color6);
    color: #FFFAE6;
    border-radius: 0;
}

.buying-premium .nav-pills {
    gap: 1px;
}

.buying-premium .nav-pills .nav-link,
.buying-premium .nav-pills .show>.nav-link {
    background-color: #E7E7E7;
    color: #000000;
}

.buying-premium-ft {}

.buying-premium-ft>div {
    gap: 30px;
}

.buying-premium-ft>div>div {
    width: 258px;
}

.buying-premium-ft .name {
    flex-grow: 1;
}

.buying-premium-ft .value {
    width: 134px;
    padding: 0 9px;
    color: #FF5F00;
    background-color: #fff;
    text-align: end;
}

.other-quotes .nav-pills .nav-link.active,
.other-quotes .nav-pills .nav-link {
    background-color: var(--theme-color6);
    color: #FFFAE6;
    border-radius: 50px;
}

.other-quotes .nav-pills .nav-link,
.other-quotes .nav-pills .show>.nav-link {
    background-color: #FFF;
    color: #000000;
}

.prd-box {
    width: 20%;
}

.prd-box .blog-block-two,
.prd-box .inner-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prd-box .content-box {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.prd-box .content-box .info {
    margin-bottom: 20px;
    padding-bottom: 0;
}

.prd-box .content-box .btn-one-rounded,
.prd-box .content-box .btn-outline-one {
    margin-top: auto !important;
}

.btn-outline-one {
    color: var(--theme-color2);
    border: 1px solid var(--theme-color2);
    background-color: #fff;

    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    display: inline-block;
    font-family: var(--title-font);
    text-align: center;
    min-width: 208px;
    max-width: 100%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: capitalize;
    min-width: 155px;
}

.btn-outline-one:hover {
    color: #1A4137 !important;
    border-color: var(--theme-color1) !important;
    background-color: var(--theme-color1);
}

.about-img::after {
    position: absolute;
    bottom: 0;
    left: -50px;
    width: 510px;
    height: 565px;
    background-color: var(--theme-color1);
    border-top-left-radius: 500px;
    border-top-right-radius: 500px;
    content: "";
    z-index: -1;
}

.form-control {
    height: 38px;
    padding: 6px 12px;
}

.objective-section .content-column .inner-column .nav.nav-tabs .nav-item .nav-link.active {
    background-color: var(--theme-color6);
    color: #FFFAE6 !important;
}

.select-period.active {
    /* background-color: var(--bs-danger-bg-subtle) !important; */
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
    /* border-radius: var(--bs-border-radius-sm) !important; */
    border-bottom: 1px solid #fff;
}

.unit-selection.active {
    /* background-color: rgba(var(--bs-secondary-bg-rgb)) !important; */
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
    /* border-radius: var(--bs-border-radius-sm) !important; */
    border-bottom: 1px solid #fff;
}

.rising-figure {
    width: 5%;
    display: inline-block;
}

.rising-value {
    min-width: 20%;
    display: inline-block;
    text-align: end;
}

.standard-price1 {
    min-width: 95%;
    display: inline-block;
    text-align: right;
}

.standard-price {
    min-width: 95%;
    display: inline-block;
    text-align: right;
}

.objective-section::after {
    background-color: unset;
}

.domestic-tb1 thead th,
.domestic-tb1 tbody td {
    border: 1px solid #dee2e6;
}

.domestic-tb1 thead th,
.domestic-tb2 thead th,
.domestic-tb3 thead th {
    background-color: #F1F5F9;
}

.domestic-tb2 tbody th {
    background-color: #FF5F00;
    color: #FFFAE6;
    text-align: center;

}

.domestic-tb3 thead th,
.domestic-tb3 tbody td {
    border: 0;
}


.sec-title .sub-title2 {
    background-color: var(--theme-color6);
    color: #FFFAE6;
}

.point-line {
    display: inline-block;
    height: 16px;
    width: 2px;
    line-height: 16px;
    background-color: #FF5F00;
    vertical-align: middle;
    margin-right: 10px;
}

.pricing-section-six {
    background-image: url(../images/bg/growth-two-bg.png);
    background-repeat: no-repeat;
}

.pricing-section-six .image-column .inner-column::after {
    position: absolute;
    bottom: 110px;
    left: -40px;
    width: 12px;
    height: 535px;
    border-radius: 12px;
    background-color: var(--theme-color1);
    content: "";
    z-index: -1;
}

.page-breadcrumb2 li a {
    color: var(--theme-color6);
}

.page-title2::before {
    background: radial-gradient(95.51% 264.21% at 92.63% 41.85%, rgba(0, 7, 31, 0) 0%, rgba(8, 65, 92, 0.98) 99.98%, rgba(8, 65, 92, 0.98) 99.99%);
}

.contact-block2 form .input input:focus,
.contact-block2 .nice-select:focus,
.contact-block2 form textarea:focus {
    border: 1px solid var(--theme-color12);
}

/* Chart Tabs Style */
.prod_list1 {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.prod_list1 p {
    padding: 8px 15px;
    background-color: #eee;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.prod_list1 p.on {
    background-color: #FF5F00;
    color: #fff;
    font-weight: bold;
}

.prod_list1 p:hover:not(.on) {
    background-color: #ddd;
}

/* Pagination Style - Square */
.pagination {
    gap: 5px;
    /* Add gap between items using flex gap if supported, or margin on items */
}

.pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    text-align: center;
    border-radius: 0 !important;
    /* Force square corners */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1A4137;
    border: 1px solid #dee2e6;
    background-color: #fff;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: #FF5F00;
    border-color: #FF5F00;
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background-color: #1A4137;
    border-color: #1A4137;
    color: #fff;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0 !important;
}

/* Remove default focus ring for better custom style */
.pagination .page-item .page-link:focus {
    box-shadow: none;
}

/* Organization Chart Tree Style - New Structure (.org-container) */
.organization-chart {
    width: 100%;
    overflow-x: auto;
    padding: 40px 0;
    text-align: center;
}

.org-container {
    display: inline-block;
    min-width: 900px;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Common Resets */
.level-1,
.level-2,
.division,
.side-branch,
.team-group {
    position: relative;
    box-sizing: border-box;
}

/* --- Visual Vars --- */
:root {
    --org-line-color: #8A70FF;
    --org-icon-gradient: linear-gradient(135deg, #9D8CFF 0%, #6A5ACD 100%);
    --org-bg-pill: #F0F4F8;
    --org-text-color: #555;
    --org-root-gradient: linear-gradient(135deg, #8A2BE2, #4169E1);
}

/* --- Node Styles (Icon + Pill) --- */
.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    cursor: default;
}

/* Icon Container (Image wrapper) */
.node .icon {
    width: 80px;
    height: auto;
    margin-bottom: -25px;
    /* Overlap pill */
    z-index: 3;
    transition: transform 0.3s ease;
    /* Remove CSS shapes, rely on image */
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.node .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    /* Ensure round if image is square */
    /* Optional: Add shadow if image is flat */
    filter: drop-shadow(0 4px 6px rgba(106, 90, 205, 0.3));
}

.node:hover .icon {
    transform: scale(1.1);
}

.node .label {
    padding-top: 15px;
    border-radius: 30px;
    font-weight: 700;
    color: #fff;
    font-size: 20px;
    min-width: 130px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

/* CEO Specific */
.node.ceo .icon {
    width: 100px;
    height: 100px;
    margin-bottom: -30px;
}

.node.ceo .label {
    margin-top: 15px;
    min-width: 160px;
    font-size: 18px;
    background-color: 0;
    box-shadow: none;
    color: #000;
}

/* Team Node (Horizontal) */
.node.team {
    flex-direction: row;
    margin-bottom: 10px;
}

.node.team .icon {
    width: 100px;
    height: auto;
    margin-bottom: 0;
    margin-right: 10px;
}

.node.team .label {
    padding: 8px 20px 8px 5px;
    min-width: auto;
    width: 100%;
    text-align: left;
    border-radius: 50px;
    background-color: transparent;
    box-shadow: none;
    font-weight: 500;
    font-size: 18px;
    color: #666;
    margin-top: 0;
}

.node.team:hover .label {}

/* --- Layout --- */

/* Level 1: CEO */
.level-1 {
    display: flex;
    justify-content: center;
    margin-bottom: 120px;
    /* INCREASED GAP for Side Branch */
}

/* Vertical Line from CEO (Longer to cross the gap) */
.level-1::after {
    content: '';
    position: absolute;
    bottom: -160px;
    /* Match margin-bottom */
    left: 50%;
    width: 0;
    height: 170px;
    border-left: 2px dashed #ccc;
    transform: translateX(-50%);
}

/* Level 2: Main Departments Container */
.level-2 {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    /* Space for horizontal bus */
    position: relative;
}

/* Horizontal Bus Line */
.level-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12.5%;
    width: 75%;
    height: 2px;
    border-top: 2px dashed #ccc;
}

/* Divisions (Columns) */
.division {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    flex: 1;
    position: relative;
}

/* Vertical Line above each Dept Node */
.division::before {
    content: '';
    position: absolute;
    top: -40px;
    /* Reach up to bus */
    left: 50%;
    width: 0;
    height: 40px;
    border-left: 2px dashed #ccc;
    transform: translateX(-50%);
}

/* Team Group Box */
.team-group {
    display: flex;
    flex-direction: column;
    border: 2px dotted var(--theme-color1);
    border-radius: 20px;
    padding: 20px 10px;
    margin-top: 20px;
    min-width: 180px;
    background-color: transparent;
    position: relative;
}

/* Connector from Dept Node to Team Box */
.team-group::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 50%;
    width: 0;
    height: 32px;
    border-left: 2px dashed #ccc;
    transform: translateX(-50%);
}

/* --- Side Branch (Quality) --- */
.side-branch {
    position: absolute;
    top: 200px;
    /* Adjusted for centering without children */
    left: 50%;
    /* Start from center */
    margin-left: 200px;
    /* Move to right */
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Connector for Side Branch */
/* Horizontal line from center vertical to side branch */
.side-branch::before {
    content: '';
    position: absolute;
    top: 70px;
    /* Middle of Dept Node */
    right: 180px;
    /* Attach to left of the node box */
    width: 220px;
    /* Reach back to center (matches margin-left) */
    height: 0;
    border-top: 2px dashed #ccc;
}

/* Responsive */
@media (max-width: 991px) {
    .org-container {
        min-width: 100%;
        display: block;
    }

    .level-1 {
        margin-bottom: 20px;
    }

    .level-1::after {
        height: inherit;
        top: 0;
    }

    .side-branch {
        position: static;
        width: 100%;
        margin-left: 0;
    }

    .side-branch::before {
        /* display: none; */
    }

    .level-2 {
        flex-direction: column;
        padding-top: 0;
        gap: 0 !important;
        margin-top: 0 !important;
    }

    .level-2::before {
        display: none;
    }

    /* Hide horizontal bus */

    .division {
        width: 100%;
        padding: 0;
    }

    .division::before {
        display: none;
    }

    /* Add simple vertical connectors between divisions */
    .division:not(:first-child)::before {
        content: '';
        display: block;
        position: static;
        width: 0;
        height: 20px;
        border-left: 2px dotted var(--theme-color1);
    }
}

.certificate .title {
    text-align: center;
}

.certificate .title a {
    font-size: 18px;
    color: #fff;
}

.certificate .team-block .inner-box .image::after {
    background: 0;
}

.steps-block .line {}

.business-area .steps-block .line {
    position: absolute;
    right: -140%;
    top: 35%;
    z-index: -1;
    border: 2px dashed #888;
    width: 200px;
    height: 1px;
}

.business-area .steps-block .line img {
    position: absolute;
    top: -25px;
    width: 27px;
    right: -6px;
}

.business-area .steps-block .icon {
    border: 2px solid #fff;
}

.analysis-area .content-column .inner-column .nav.nav-tabs .nav-item .nav-link.active {
    background-color: var(--bg-theme-color2);
}

.analysis-area .objective-block {
    height: 390.86px;
    background-image: url(../images/shape/service-block-shape.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-color: var(--theme-color-gray2);
}

.objective-block:after {
    background-image: url(../images/icon/arrow-shape1.png);
    background-repeat: no-repeat;
    bottom: 0;
    content: "";
    height: 106px;
    right: 100px;
    position: absolute;
    top: 25%;
    width: 90px;
}

.recruitment-notice-area .steps-block .line {
    top: 40px;
}

.recruitment-notice-area .steps-block .line {
    right: -40%;
}

.recruitment-notice-area .content-box .title {
    color: #fff !important;
}

.recruitment-notice-area .graph-outer {
    background-color: var(--bg-theme-color2);
}

.processing-section .outer-box {
    background-color: var(--theme-color2);
}

.processing-block .inner-box .number {
    -webkit-text-stroke: 1px var(--theme-color-light);
}

.processing-block .inner-box .title {
    color: #fff;
}

.processing-block .inner-box:hover .number {
    color: var(--theme-color1);
    -webkit-text-stroke: none;
}

.refining-area .nav {
    overflow: unset;
}

.partner-area .service-block-two .content-box {
    height: 216px;
    position: relative;
}

.partner-area .service-block-two .btn-two-rounded {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* 반응형 */

@media (min-width: 1501px) {
    .choose-section {
        height: auto;
    }

}

@media (max-width: 1500px) {

    .main-menu {
        display: none !important;
    }

    .choose-section {
        height: auto;
    }

    .business-bg-img {
        width: 40%;
        display: none;
    }

    .domestic-banner .container .info {
        text-align: left !important;
    }
}

@media (max-width: 1024px) {

    .buying-premium {
        min-width: 100%;
    }

    .calculation-area .choose-tab li {
        white-space: nowrap !important;
    }

    .choose-section .content-column .inner-column .choose-tab .nav .nav-item .nav-link {
        border: 1px solid #eee;
        padding: 0 15px;

    }

    .refining-area li {
        white-space: nowrap !important;
    }

    .rising-value {
        min-width: 40% !important;
    }

    .domestic-area .d-chart,
    .international-area .d-chart {
        width: 100%;
    }

}

@media (max-width: 820px) {


    .refining-area .nav li button {
        font-size: 16px !important;
        padding: 0 20px 10px !important;
    }

    .domestic-area .unit-selection,
    .international-area .unit-selection {
        width: 100% !important;
    }

    .side-branch {
        position: relative;
        top: 0;
        left: 0;
    }

    .side-branch::before {
        width: 170px;
    }

    .business-area .steps-block .line {
        display: block;
        width: 27px;
        height: 50px;
        border: none;
        border-left: 2px dashed #888;
        position: relative;
        right: auto;
        top: 0;
        left: 14px;
        margin: 20px auto;
        display: block;
        z-index: 1;
    }

    .business-area .steps-block .line img {
        display: inline-block;
        transform: rotate(90deg);
        top: 20px;
        left: -14px;
    }



}

@media (min-width: 768px) and (max-width: 820px) {
    .recruitment-notice-area .steps-block .line {
        right: -140%;
    }
}

@media (min-width: 768px) and (max-width: 1500px) {


    .prd-box {
        width: 50% !important;
    }

    .service-next {
        right: -5% !important;
    }

    .about-section-three .image-column .inner-column .shape {
        left: -30px;
    }


}

@media (max-width: 767px) {

    .main-sopt-headline {
        font-size: 16px;

    }

    .choose-section .content-column .inner-column .choose-tab .nav .nav-item .nav-link {
        font-size: unset;

    }

    .domestic-banner .container {
        height: unset !important;
    }

    .service-prev {
        left: 0 !important;
    }

    .service-next {
        right: 0 !important;
    }

    .prd-box {
        width: 100% !important;
    }

    .brand-section-two {
        height: 80px !important;
    }

    .brand-section-two .swiper-slide {
        width: unset !important;
    }

    .refining-area .nav {
        overflow: auto !important;
    }

    .refining-area .nav li button {
        border-bottom: 1px solid #d9d9d9 !important;
    }

    .domestic-area .real-time,
    .domestic-area .last {
        padding: 12px !important;
    }

    .choice-date-box>div {
        width: 50%;
    }

    .organization-area .node {
        padding: 10px 0;
    }

    .side-branch::before {
        content: '';
        position: relative;
        top: 50px;
        right: 20%;
        width: 100px;
        height: 0;
        border-top: 2px dashed #ccc;
    }

    .analysis-area .objective-block:after {
        display: none;
    }

    .recruitment-notice-area .steps-block .line {
        display: block;
        width: 27px;
        height: 50px;
        border: none;
        border-left: 2px dashed #888;
        position: relative;
        right: auto;
        top: 0;
        left: 14px;
        margin: 20px auto;
        display: block;
        z-index: 1;
    }

    .recruitment-notice-area .steps-block .line img {
        display: none;
    }

    .about-section-seven .image-column .inner-column {
        margin-right: 0 !important;
    }

    .about-section-seven .image-column .inner-column .image1,
    .about-section-seven .image-column .inner-column .image2 {
        transform: none !important;
    }

    .main-refining-area.btn-outline-one {
        min-width: unset;
        padding: 10px 30px;
    }

    .main-footer {
        line-height: 1.4rem;
    }
}