/* GDSC Solutions CSS */

/* Typography & Common */
.tour-b1, .tour-b2 {
    font-size: 17px;
    color: #111827;
    font-weight: 400;
    line-height: 25px;
}

.en-initial {
    color: #111827;
    font-weight: 800;
}

/* Solutions Section 01 */
.solution-header {
    text-align: center;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto 30px auto;
}

.solution-header .title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.solution-header .title-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.solution-header .title-right {
    text-align: left;
}

.solution-header .title-right .tour-b2 {
    margin-top: 6px;
}

.solution-header .vista-logo {
    height: 52px;
    width: 52px;
}

.solution-header h2 {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.solution-header .quote {
    font-size: 17px;
    font-weight: 400;
    color: #111827;
    margin: 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 539px);
    gap: 10px;
    max-width: 1120px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.solution-card {
    width: 100%;
    min-height: 175px;
    height: auto;
    opacity: 1;
    gap: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 1px 3px 0px #0F172A0A;
    display: flex;
    align-items: flex-start; /* Align content to top */
}

.warehouse-solution .solution-card {
    min-height: 230px;
    height: auto;
}

.ocean-solution-card {
    width: 100%;
    height: 185px;
    opacity: 1;
    gap: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 1px 3px 0px #0F172A0A;
    display: flex;
    align-items: flex-start;
}

.ocean-solution-card .icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ocean-solution-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ocean-solution-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    padding-left: 90px;
}

.ocean-solution-card .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 21px;
    color: #111827;
}

.admin-solution-card {
    width: 100%;
    height: 208px;
    opacity: 1;
    gap: 15px;
    padding: 20px 15px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 1px 3px 0px #0F172A0A;
    display: flex;
    align-items: flex-start;
}

.admin-solution-card .icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-solution-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-solution-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    padding-left: 90px;
}

.admin-solution-card .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 21px;
    color: #111827;
}

.solution-card .icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card .icon-wrapper img {
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    opacity: 1;
}

.solution-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.solution-card .card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    padding-left: 90px; /* Align title with solution-list text (icon width 80px + 10px bullet offset) */
}

.solution-card .card-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 21px;
    color: #111827;
}

.card-icon-list {
    display: flex;
    align-items: flex-start;
    gap: 0; /* No gap between Icon and <ul> as per requirement 2.8 */
    margin-bottom: 0;
}

.solution-list {
    width: 425px;
    min-height: 98px;
    height: auto;
    opacity: 1;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.solution-list li {
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    color: #6B7280;
    position: relative;
    padding-left: 10px;
    letter-spacing:  -0.01em;
}

.solution-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
;
}

.solution-card .tag-wrapper {
    display: none;
}

/* Section 2: Features */
.section-2 {
    /* background handled by section-bg-* utility classes */
}

.section-2,
.section-3,
.section-4,
.section-5,
.effect-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-2-header {
    width: 1120px;
    margin: 0 auto 30px auto;
}

.section-2-header h2 {
    width: 1088px;
    margin: 0 auto 15px auto;
    font-size: 37px;
    font-weight: 800;
    line-height: 33px;
    color: #111827;
    text-align: center;
}

.section-2-header p {
    width: 1088px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    color: #6B7280;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 534px);
    gap: 16px;
    max-width: 1120px;
    width: 100%;
    margin: 30px auto 0;
    padding: 0 16px;
    justify-content: center;
}

.feature-card {
    background: #FFFFFF;
    width: 534px;
    height: 315px;
    min-height: 260px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 14px 35px 0px #E5E7EBE5;
    display: flex;
    flex-direction: column;
    gap: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 농업 전용 피처 카드: 관광 솔루션과 차별화 (높이 조정) */
.agri-feature-card {
    background: #FFFFFF;
    width: 534px;
    height: 330px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 14px 35px 0px #E5E7EBE5;
    display: flex;
    flex-direction: column;
    gap: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agri-feature-card .card-image {
    width: 534.08px;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.agri-feature-card .card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.agri-feature-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 60%);
    pointer-events: none;
}

.agri-feature-card .card-body {
    height: 150px;
    padding: 24px 20px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agri-feature-card .card-body h5 {
    width: 494px;
    height: 22px;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    color: #111827;
    margin: 0;
}

.agri-feature-card.hover-lift:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0px 20px 45px rgba(15, 23, 42, 0.18) !important;
}

.agri-feature-card.hover-lift:hover .card-image img {
    transform: scale(1.1) !important;
}

/* 물류 전용 피처 카드: 높이 340px 지정 */
.warehouse-feature-card {
    background: #FFFFFF;
    width: 534px;
    height: 340px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 14px 35px 0px #E5E7EBE5;
    display: flex;
    flex-direction: column;
    gap: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warehouse-feature-card .card-image {
    width: 534.08px;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.warehouse-feature-card .card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.warehouse-feature-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 60%);
    pointer-events: none;
}

.warehouse-feature-card .card-body {
    height: 160px;
    padding: 24px 20px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.warehouse-feature-card .card-body h5 {
    width: 494px;
    height: 22px;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    color: #111827;
    margin: 0;
}

.warehouse-feature-card.hover-lift:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0px 20px 45px rgba(15, 23, 42, 0.18) !important;
}

.warehouse-feature-card.hover-lift:hover .card-image img {
    transform: scale(1.1) !important;
}

.feature-card .card-image {
    width: 534.08px;
    height: 180px;
    overflow: hidden;
    position: relative;
    /* 2.4 card Image 영역 interaction: Fixed (이미지에 그라데이션 직접 적용 또는 오버레이 유지) */
}

.feature-card .card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feature-card.hover-lift:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0px 20px 45px rgba(15, 23, 42, 0.18) !important;
}

.feature-card.hover-lift:hover .card-image img {
    transform: scale(1.1) !important;
}

/* Re-defining card-image overlay to match requirements */
.feature-card .card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 60%);
    pointer-events: none;
}

.feature-card .card-body {
    padding: 24px 20px 0 20px; /* Adjusting padding to accommodate internal widths if necessary */
    display: flex;
    flex-direction: column;
    gap: 16px; /* 2.3 Gap: 16px */
}

.feature-card .card-body h5,
.feature-card .card-body h4 {
    width: 494px;
    height: 22px;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    color: #111827;
    margin: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 509px;
    height: 54px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    font-size: 15px;
    font-weight: 400;
    /*line-height: 100%;*/
    line-height: 22px;
    color: #6B7280;
    padding-left: 15px;
    margin-left: 8px;
    position: relative;
    word-break: keep-all;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

/* Section 3: Detailed AI Services (Administration) */
.admin-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 353px);
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    justify-content: center;
}

.admin-service-card {
    width: 352px;
    height: 153px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

.admin-service-card.active {
    border-color: #2563EB;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.admin-service-card .card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.admin-service-card .icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-service-card .service-icon {
    width: 24px;
    height: 24px;
}

.admin-service-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin: 0;
}

.admin-service-card.active h5 {
    color: #2563EB;
}

.admin-service-card .arrow-icon {
    width: 24px;
    height: 24px;
    display: none;
}

.admin-service-card.active .arrow-icon {
    display: block;
}

.admin-service-card .service-desc {
    font-size: 15px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.4;
    margin: 0;
    word-break: keep-all;
}

/* Section 4: AI Service Details (Administration) */
.admin-detail-section {
    padding: 100px 0;
}

.admin-detail-header {
    max-width: 1120px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.admin-detail-header h2 {
    font-size: 37px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.admin-detail-header p {
    font-size: 17px;
    color: #6B7280;
    line-height: 1.5;
    word-break: keep-all;
}

.admin-detail-cards-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.admin-detail-grid {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 20px;
}

/* Removed -webkit-scrollbar display:none as overflow is gone */

.admin-detail-card {
    flex: 0 0 260px;
    width: 260px;
    height: 308px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 5px;
    padding: 40px 25px;
    box-shadow: 0px 1px 3px 0px #0F172A0A;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-detail-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    word-break: keep-all;
    text-align: center;
}

#service-detail-section .admin-detail-card h5 {
    width: 208px;
    height: 60px;
    line-height: 1.5;
    margin-bottom: 0;
}

#service-detail-section .admin-detail-card {
    display: grid;
    grid-template-rows: 60px 1fr;
    row-gap: 30px;
    align-content: start;
    justify-items: center;
}

#service-detail-section .admin-detail-card p {
    align-self: start;
}

.admin-detail-card p {
    font-size: 17px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    word-break: keep-all;
}

.admin-detail-card .bullet-text {
    display: block;
    position: relative;
    padding-left: 12px;
}

.admin-detail-card .bullet-text::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

.case-link-wrapper {
    max-width: 1120px;
    margin: 40px auto 0;
    padding: 0 16px;
    text-align: right;
}

.case-link {
    font-size: 15px;
    color: #3B82F6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Section 3: Detailed AI Services (Administration) */
.section-3 {
    padding: 100px 0 100px;
    height: auto;
}


/* Section 4 (Ocean): AI Specialized Services with Background - Updated per Figma Specs */
.ocean-spec-solution-section {
    position: relative;
    width: 100%;
    height: 516px;
    background-color: #37474F; /* Dark blue-gray from screenshot */
    padding: 100px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ocean-spec-solution-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ocean-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Increased opacity to match screenshot visibility */
    z-index: 1;
}

.ocean-spec-solution-section .section-content {
    position: relative;
    z-index: 2;
    width: 1120px;
    height: 316px;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 16px;
}

.ocean-spec-solution-section .section-title {
    width: 1088px;
    height: 33px;
    font-size: 28px;
    font-weight: 700;
    line-height: 33px;
    color: #111827; /* Changed back to white for better contrast on dark background */
    text-align: center;
    margin: 0 auto;
}

.ocean-spec-grid {
    width: 1088px;
    height: 251px;
    display: grid;
    grid-template-columns: repeat(5, 212px);
    gap: 7px;
    margin: 0 auto;
}

.ocean-spec-card {
    background: #FFFFFF;
    width: 212px;
    height: 251px;
    border-radius: 5px;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 1px 3px 0px #0F172A0A;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 1;
}

.ocean-spec-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    word-break: keep-all;
}

.ocean-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ocean-spec-list li {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    position: relative;
    padding-left: 10px;
    margin-bottom: 4px;
    word-break: keep-all;
}

.ocean-spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}


/* 도입 효과 섹션 */
.effect-section {
}

.effect-header {
    text-align: center;
    margin-bottom: 50px;
}

.effect-header h2 {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.effect-table-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.effect-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-bottom: 1px solid #E5E7EB;
}

.effect-table th {
    padding: 20px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border: 1px solid #FFFFFF;
}

.effect-table th.col-item {
    background-color: #BDBDBD;
    color: #4B5563;
    width: 20%;
}

.effect-table th:not(.col-item) {
    background-color: #3182F6;
    color: #FFFFFF;
}

.effect-table td {
    padding: 18px 20px;
    font-size: 16px;
    color: #111827;
    text-align: center;
    border: 1px solid #F1F8FF;
}

.effect-table td.col-item {
    background-color: #F3F4F6;
    color: #111827;
    font-weight: 500;
}

.effect-table tr:nth-child(even) td:not(.col-item) {
    background-color: #F1F8FF;
}

.effect-table tr:nth-child(odd) td:not(.col-item) {
    background-color: #FFFFFF;
}

.effect-table .highlight {
    font-weight: 700;
}

.effect-footer {
    margin-top: 25px;
}

.effect-footer p {
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    color: #6B7280;
    margin-bottom: 8px;
    line-height: 1.5;
}

.scroll-container-full {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 10px; /* space for dot bar */
}

.image-scroll-viewport {
    width: 100%;
    height: 364px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    /* Removed box-shadow from here as it should be on the item or we need to handle whitespace */
}

.image-scroll-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.image-scroll-item {
    flex: 0 0 100%;
    width: 100%;
    height: 364px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.image-scroll-item img {
    width: 728px;
    height: 364px;
    object-fit: cover;
    display: block;
    opacity: 1;
}


/* Indicators (Dots) */
.scroll-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #FFFFFF;
    opacity: 1;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #DADADA;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #2563EB;
}

@media (max-width: 1200px) {
    .scroll-arrow.left {
        left: 10px;
    }
    .scroll-arrow.right {
        right: 10px;
    }
}

/* Section 4: AI Services (Vertical Tabs) */
.section-4 {
    /* background-color: #FFFFFF; */
}

.section-bg-white {
    background-color: #FFFFFF;
}

.section-bg-ebebeb {
    background-color: #EBEBEB;
}

.content-section.section-bg-white,
.content-section.section-bg-f1f8ff,
.content-section.section-bg-ebebeb {
    padding-left: 16px;
    padding-right: 16px;
}

.content-section.section-bg-white .section-content,
.content-section.section-bg-f1f8ff .section-content,
.content-section.section-bg-ebebeb .section-content {
    padding-left: 0;
    padding-right: 0;
}

.section-bg-f1f8ff {
    background-color: #F1F8FF;
}

.section-4-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-4-header h2 {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.custom-vertical-tabs {
    border: none;
    margin-top: 30.4px;
}

.section-4 .col-lg-3 {
    width: 240px;
    padding-top: 20px;
    padding-bottom: 20px;
    opacity: 1;
    flex: 0 0 240px;
    max-width: 240px;
}

.section-4 .custom-vertical-tabs {
    gap: 10px;
    margin-top: 10px;
}

.section-4 .row.align-items-start {
    width: 100%;
    max-width: 1088px;
    gap: 30px;
    padding-left: 100px;
    padding-right: 100px;
    margin: 0 auto;
    opacity: 1;
    display: flex;
    flex-wrap: nowrap;
    --bs-gutter-x: 0;
}

.section-4 .col-lg-9 {
    flex: 0 0 618px;
    max-width: 618px;
}

.custom-vertical-tabs .nav-link {
    color: #111827;
    background: #6B72801F;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 8px 20px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: 700;
    font-size: 13.3px;
    transition: all 0.3s ease;
    width: 240px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-vertical-tabs .nav-link:hover {
    background-color: #F1F5F9;
}

.custom-vertical-tabs .nav-link.active {
    background-color: #E0E7FF;
    color: #2563EB;
    border: 1px solid #2563EB;
}

.tab-content-box {
    background: #FFFFFF;
    width: 100%;
    max-width: 618px;
    height: auto;
    border-radius: 5px;
    border: 1px solid #E2E8F0;
    position: relative;
    box-shadow: 0px 10px 30px 0px #02061714;
}

.tab-content-inner {
    padding: 20px 40px;
    margin: 0;
    opacity: 1;
}

.cert-header h3,
.tab-content-box h3 {
    font-size: 27px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 30px;
    background: none !important;
}

.cert-header h3 {
    font-size: 24px;
    margin: 0;
}

.algorithm-badge {
    position: absolute;
    top: 20px;
    right: 25px;
    padding: 3px 7px;
    border: 1px solid   #D1D5DB;
    border-radius: 999px;
    font-size: 15px;
    background:#F9FAFB;
    color: #4B5563;
    font-weight: 400;
}

.detail-service-list,
.cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-service-list li,
.cert-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 15px;
    margin-left: 8px;
}

.detail-service-list li:last-child,
.cert-list li:last-child {
    margin-bottom: 0;
}

.detail-service-list li::before,
.cert-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

.detail-service-list li {
    padding: 4px 0 2px 20px;
    width: 100%;
    height: auto;
    gap: 5px;
    opacity: 1;
}

/*.section-4 .custom-vertical-tabs .nav-link {
    border-radius: 5px;
}*/

.detail-service-list li::before {
    font-size: 20px;
    top: 4px;
}

.detail-service-list li strong,
.cert-list li strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.cert-list li strong {
    font-size: 17px;
    margin-bottom: 8px;
}

.agri-cert-list li strong {
    font-family: Pretendard;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.detail-service-list li p {
    font-size: 15px;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.cert-list li p {
    font-size: 17px;
    /*color: #111827;*/
    color: #2563EB;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.cert-list li {
    margin-bottom: 15px;
    height: auto;
    min-height: 20px;
    font-size: 17px;
}

.cert-list li:last-child {
    margin-bottom: 0;
}

.case-link-wrapper {
    text-align: right;
    margin-top: 15px;
}

.case-link {
    color: #38BDF8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Content Switch Animation */
@keyframes contentFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-content {
    animation: contentFadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@media (max-width: 992px) {
    .custom-vertical-tabs .nav-link {
        width: 100%;
    }
    .section-4 {
        padding: 100px 0;
    }
}

/* Section 5: Performance & Certifications */
.section-5 {
    /* background handled by section-bg-* utility classes */
}

.section-5-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-5-header h2 {
    font-size: 37px;
    font-weight: 800;
    color: #111827;
}

.certification-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 15px;
}

.cert-card {
    background: #FFFFFF;
    width: 1088px;
    border-radius: 5px;
    border: 1px solid #E2E8F0;
    padding: 0 15px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0px 10px 30px 0px #02061714;
    overflow: hidden;
    box-sizing: border-box;
}

.cert-card:nth-of-type(1) {
    min-height: 287px;
}

.cert-card:nth-of-type(2) {
    min-height: 457px;
    align-items: flex-start;
}

.cert-card-area {
    width: 1047px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: 21.6px;
    margin-left: 15px;
    box-sizing: border-box;
}

.cert-card:nth-of-type(1) .cert-card-area {
    width: 1058px;
    margin-top: 0;
    margin-left: 0;
    align-self: center;
}

.cert-card:nth-of-type(1) .cert-image {
    width: 590px;
    height: 243px;
}

.cert-card:nth-of-type(1) .cert-content {
}

.cert-content {
    width: 452px;
    margin-left: 8px;
    flex-shrink: 0;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
}

.cert-card:nth-of-type(2) .cert-content {
    margin-left: 0;
    align-self: center;
}

.cert-card:nth-of-type(2) .cert-card-area {
    align-items: center;
}

.cert-image {
    width: 574px;
    height: 413px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    opacity: 1;
    box-sizing: border-box;
}

.cert-card:nth-of-type(1) .cert-image {
    width: 579px;
    height: 243px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    opacity: 1;
}

.cert-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.cert-card:nth-of-type(1) .cert-image img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    margin-top: 0;
}

.cert-card:nth-of-type(2) .cert-image img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: contain;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    width: 452px;
    height: 23px;
}


.cert-badge {
    padding: 3px 7px;
    border: 1px solid #D1D5DB;
    border-radius: 999px;
    font-size: 13px;
    color: #4B5563;
    background: #F9FAFB;
    font-weight: 400;
    margin-right: 10px;
}


.cert-list li p {
    font-size: 15px;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.cert-list li p span {
    color: #2563EB;
}

@media (max-width: 992px) {
    .cert-card {
        flex-direction: column;
        padding: 30px;
        height: auto !important;
    }

    .cert-card-area {
        width: 100% !important;
        height: auto !important;
        flex-direction: column;
        margin: 0;
    }
    .cert-content, .cert-image, .cert-image img {
        width: 100% !important;
        height: auto !important;
    }
}
