@import url("../layout/tab.css");

/***********************
      주요 사업분야
 ***********************/
.business-section .section-container {
    padding: 20px 0 80px;
}

.business-section .section-title {
    margin-top: 160px;
}

.business-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 40px;
    position: relative;
}

.business-detail-image img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    border-radius: 30px;
}

.business-header {
    display: flex;
    gap: 20px;
    margin-bottom: 180px;
}

.business-detail-title {
    flex: 1;
    font-size: 48px;
    font-weight: bold;
    color: #264FA5;
    line-height: 1.3;
    margin-bottom: 24px;
}

.business-detail-desc {
    flex: 2.5;
    color: #424A53;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
}

.business-overview-wrapper {
    background-color: #F6F8FA;
    border-radius: 50px;
    padding: 60px 70px;
    margin-top: 40px;
}

.overview-title {
    margin-bottom: 80px;
    font-size: 32px;
    font-weight: 600;
}

.badge {
    width: fit-content;
    display: inline-block;
    margin: 20px 0 30px;
    padding: 10px 28px;
    border-radius: 300px;
    background-color: rgba(101, 138, 217, 0.12);
    color: #021B51;
    font-size: 26px;
    font-weight: 600;
}

.procurement-badge {
    margin: 0;
    margin-top: 60px;
    margin-bottom: -10px;
}

.overview-list {
    margin-bottom: 80px;
}

.overview-list:only-child,
.overview-list:last-child {
    margin-bottom: 0;
}

.overview-list li {
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
    font-size: var(--font-md);
    font-weight: 500;
    line-height: 1.8;
}

.overview-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -11px;
    color: rgba(38, 79, 165, 0.7);
    font-size: 1.6em;
    line-height: 1.8;
}

.overview-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-aspect {
    aspect-ratio: 16 / 9;
}

.top-row,
.bottom-row,
.single-row {
    display: flex;
    gap: 30px;
}

.single-row img,
.top-row img,
.bottom-row img {
    width: 50%;
    border-radius: 30px;
}

.export-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.export-row.row-1 img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.export-row.row-2 {
    display: flex;
    gap: 20px;
}

.export-row.row-2 img {
    flex: 1;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.procurement-gallery {
    margin-bottom: 0;
}

.procurement-gallery.badge {
    margin-bottom: 80px;
}

.education-gallery img {
    max-height: 424px;
}

.solution-gallery img {
    max-height: 470px;
}

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

.row-3 img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.row-3 .overview-list {
    margin-top: 10px;
    margin-bottom: 0;
}

@media (max-width: 1280px) {
    .business-section .section-title {
        margin-top: 120px;
    }

    .business-detail-title {
        font-size: 42px;
    }

    .business-detail-desc {
        font-size: 27px;
    }

    .business-overview-wrapper {
        padding: 50px 60px;
    }

    .badge {
        font-size: var(--font-2xl);
        margin: 20px 0;
    }

    .overview-gallery {
        gap: 20px;
    }

    .top-row,
    .bottom-row,
    .single-row {
        gap: 20px;
    }

    .business-detail-image img {
        object-fit: contain;
    }

}

@media (max-width: 1024px) {
    .business-section .section-title {
        margin-top: 80px;
        font-size: 45px;
    }

    .business-header {
        margin-bottom: 100px;
    }

    .business-detail-title {
        font-size: 36px;
    }

    .business-detail-desc {
        font-size: 23px;
    }

    .business-overview-wrapper {
        padding: 50px 40px;
    }

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

    .badge {
        font-size: var(--font-xl);
        margin: 10px 0 20px;
    }

    .overview-gallery {
        margin-bottom: 10px;
    }

    .top-row img,
    .bottom-row img {
        width: 49%;
    }

    .single-row img,
    .top-row img,
    .bottom-row img {
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .business-section .section-title {
        font-size: 40px;
    }

    .business-detail-title {
        font-size: 30px;
    }

    .business-detail-desc {
        font-size: var(--font-lg);
    }

    .badge {
        font-size: var(--font-md);
    }

    .business-detail-image {
        margin-bottom: 10px;
    }

    .business-detail-image img {
        scale: 1.3;
    }

    .investment-gallery img {
        scale: 1;
    }

    .top-row,
    .bottom-row,
    .single-row,
    .export-row.row-2 {
        gap: 10px;
    }

    .business-overview-wrapper {
        padding: 50px 30px;
        border-radius: 20px;
    }

    .overview-title {
        margin-bottom: 30px;
    }

    .investment-gallery {
        scale: 1;
    }

    .business-detail-image {
        aspect-ratio: 8 / 3;
    }

    .row-3 img {
        height: auto;
        min-height: 180px;
    }
}

@media (max-width: 480px) {

    .business-section .section-title {
        margin-top: 20px;
        font-size: 28px;
    }

    .business-detail-title {
        font-size: var(--font-2xl);
        margin-bottom: 0px;
    }

    .business-detail-desc {
        font-size: var(--font-base);
    }

    .business-header {
        margin-bottom: 50px;
        flex-direction: column;
        gap: 10px;
    }

    .overview-title {
        font-size: var(--font-lg);
    }

    .badge {
        border-radius: 30px;
        text-align: center;
        font-size: var(--font-sm);
        margin: 5px 0 15px;
        padding: 8px 20px;
    }

    .business-overview-wrapper {
        padding: 20px 15px;
    }

    .overview-list,
    .procurement-gallery.badge {
        margin-bottom: 50px;
    }

    .overview-list li {
        font-size: var(--font-sm);
        margin-bottom: 5px;
        padding-left: 20px;
    }

    .business-detail-image img,
    .single-row img,
    .top-row img,
    .bottom-row img {
        transform: scale(1.0) !important;
        border-radius: 10px;
    }

    .tabs {
        justify-content: center;
    }

    .row-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .row-3 .overview-list li {
        font-size: var(--font-sm);
    }

    .row-3 img {
        min-height: 120px;
    }
}

/***********************
      주요 사업분야 
 ***********************/
.investment-gallery {
    aspect-ratio: auto;
}

.investment-gallery img {
    max-height: 940px;
}

/***********************
        실적 현황
 ***********************/
.business-record-section .section-title {
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 200px;
}

.record-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px 30px;
    justify-items: center;
}

.client-card {
    text-align: center;
    transition: all 0.6s ease;
}

.client-card img {
    width: 290px;
    height: 160px;
    object-fit: contain;
}

.client-card-name {
    font-size: var(--font-lg);
}

.client-card:hover {
    transform: translateY(-4px);
}

.client-card:hover .client-card-name {
    color: #264FA5;
    font-weight: 700;
}

@media (max-width: 1280px) {
    .business-record-section .section-title {
        margin-bottom: 120px;
        font-size: 44px;
    }

    .record-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 70px 20px;
    }

    .client-card img {
        width: 220px;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .business-record-section .section-title {
        font-size: 34px;
    }

    .record-grid {
        gap: 60px 10px;
    }

    .client-card img {
        width: 180px;
    }

    .client-card-name {
        font-size: var(--font-md);
    }
}

@media (max-width: 768px) {
    .business-record-section .section-title {
        margin-bottom: 60px;
        font-size: 26px;
    }

    .record-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .client-card {
        padding: 10px 50px;
    }
}

@media (max-width: 480px) {
    .business-record-section .section-title {
        font-size: var(--font-lg);
        margin-bottom: 30px;
    }

    .record-grid {
        gap: 10px;
    }

    .client-card {
        width: 100%;
        padding: 10px 0;
    }

    .client-card img {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #EAEEF2;
        border-radius: 20px;
    }

    .client-card-name {
        font-size: var(--font-base);
        line-height: 1.3;
    }
}