/* English Index Page Styles */
.en-wrapper {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll on the entire page */
}

.en-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Main Banner */
.en-banner {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 240px;
    background-color: #f4f6f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.en-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.en-banner-slide {
    position: relative;
}

.en-banner-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    z-index: 2;
    padding-left: 240px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.en-banner-tag {
    color: #00754A;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.en-banner-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 90px;
    color: #222222;
    margin: 0;
}

.en-banner-title p {
    margin: 0;
    line-height: 90px;
}

.en-banner-description {
    font-size: 24px;
    font-weight: 500;
    color: #222222;
    line-height: 36px;
    margin: 0;
}

.en-banner-pager {
    position: absolute;
    bottom: 80px;
    left: 240px;
    display: flex;
    gap: 20px;
    z-index: 2;
}

.en-banner-pager .dot {
    width: 14px;
    height: 14px;
    background-color: #D9D9D9;
    border-radius: 50%;
}

.en-banner-pager .dot.active {
    width: 100px;
    background-color: #728285;
    border-radius: 10px;
}

/* Greetings Section */
.en-greetings {
    position: relative;
    margin-bottom: 240px;
    width: 100%;
    height: 1000px;
    display: flex;
    align-items: center;
}

.en-greetings-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 800px;
    height: 1000px;
    z-index: 1;
}

.en-greetings-content {
    position: relative;
    z-index: 2;
    width: 995px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding-left: 240px;
}

.en-greetings-title h2 {
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.5;
    letter-spacing: -0.04em;
    color: #222222;
    margin: 0;
}

.en-greetings-card {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.en-greetings-text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #222222;
}

.en-greetings-signature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.en-greetings-signature .signature-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.en-greetings-signature .signature-title p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.en-greetings-signature .signature-brand {
    color: #00754A;
}

.en-greetings-signature .signature-role {
    color: #222222;
}

.en-greetings-signature .director-sign img {
    width: 277px;
    height: auto;
}

.en-governance {
    margin-bottom: 240px;
    text-align: center;
}

.en-governance-title-block {
    margin-bottom: 80px;
}

.en-governance-title {
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 60px;
    color: #222222;
    margin: 0 0 40px 0;
}

.en-governance-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #222222;
    margin-bottom: 0;
}

.en-governance-diagram {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.en-governance-diagram img {
    width: 100%;
    height: auto;
}

/* Goal & Process Section */
.en-goal-process {
    margin-bottom: 240px;
    text-align: center;
}

.en-goal-process .en-container {
    max-width: none;
}

.en-goal-process-title-block {
    margin-bottom: 40px;
}

.en-goal-process-title {
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #222222;
    margin: 0 0 8px 0;
}

.en-goal-process-description {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #222222;
}

.en-goal-process-cards-bg {
    background-size: cover;
    border-radius: 24px;
    padding: 140px 160px;
    margin: 40px auto 0;
    max-width: 1760px;
}

.en-goal-process-cards {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.en-goal-process-card {
    width: 185px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.en-goal-process-card img {
    width: 56px;
    height: 56px;
    filter: brightness(0) invert(1);
}

.en-goal-process-card span {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.en-goal-process-timeline {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: auto;
    margin-top: 80px;
    position: relative;
    max-width: 1440px;
}

.en-timeline-phase {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    text-align: left;
    position: relative;
}

/* Vertical line between phases */
.en-timeline-phase:first-child::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #E2E2E2;
}

.en-timeline-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.en-timeline-phase-title {
    font-size: 30px;
    font-weight: 700;
    color: #222222;
}

.en-timeline-phase-period {
    font-size: 16px;
    font-weight: 500;
    color: #707070;
}

.en-timeline-phase-subtitle {
    font-size: 30px;
    font-weight: 700;
    color: #00754A;
}

.en-timeline-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.en-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.en-timeline-item .label {
    font-weight: 500;
    color: #222222;
}

.en-timeline-item .value {
    font-weight: 700;
    color: #222222;
}

/* Project Flow Section */
.en-project-flow-section {
    margin-bottom: 240px;
    text-align: center;
}

.en-project-flow-title {
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: #222222;
    margin-bottom: 50px;
}

.en-project-flow-diagram {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.en-project-flow-diagram img {
    width: 100%;
    height: auto;
}

/* Vision Section */
.en-vision-section {
    margin-bottom: 120px;
}
    
.en-vision-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.en-vision-overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.en-vision-overview .en-vision-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.en-vision-overview .en-vision-title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.en-vision-overview .icon img {
    width: 56px;
    height: 56px;
}

.en-vision-overview .subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #00754A;
}

.en-vision-main-head .en-vision-main-title {
    margin: 0;
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: -0.04em;
    color: #222222;
}

.en-vision-overview .main-title {
    margin: 0;
    font-family: 'Ria Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: -0.04em;
    color: #222222;
}

.en-vision-overview .description {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #222222;
    text-align: center;
}

.en-vision-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 261px;
    max-width: 900px;
    width: 100%;
}

.en-vision-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.en-vision-card {
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px; /* Reduced gap for collapsed state */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background: rgba(34, 34, 34, 0.5) no-repeat center center;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.5) !important;
    background-blend-mode: multiply;
    cursor: pointer;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.en-vision-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.en-vision-card.is-active .en-vision-bg-video {
    opacity: 1;
}

.en-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.en-vision-card.is-active::before {
    opacity: 1;
}

.en-vision-card-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.en-vision-card-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: #FCFCFC;
    text-align: left;
}

.en-vision-compare-section {
    display: none; /* Hidden by default globally */
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.en-vision-card.is-active .en-vision-compare-section {
    display: flex; /* Shown when active */
}

.en-vision-card.is-active {
    gap: 40px; /* Restore gap when active */
}

.en-vision-compare-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(252, 252, 252, 0.25);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 24px;
}

.en-vision-compare-card ul {
    margin: 0 0 0 36px;
    padding: 0;
    list-style-type: disc;
}

.en-vision-compare-tag-as-is {
    display: inline-block;
    background-color: #FCFCFC;
    color: #222222;
    font-size: 20px;
    font-weight: 500;
    border-radius: 999px;
    padding: 14px 20px;
    width: fit-content;
}

.en-vision-compare-tag-to-be {
    display: inline-block;
    background-color: #00754A;
    color: #FCFCFC;
    font-size: 20px;
    font-weight: 500;
    border-radius: 999px;
    padding: 14px 20px;
    width: fit-content;
}

.en-vision-compare-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #FCFCFC;
    text-align: left;
}

.pc-only { display: block; }
span.pc-only, br.pc-only { display: inline; }
.mo-only { display: none; }

@media (max-width: 1700px) {
    .en-greetings-content {
        padding-left: 80px;
    }
    .en-greetings-text {
        width: 100%;
    }
}
@media (max-width: 1600px) {
    .en-greetings-text {
        width: 90%;
    }
}
@media (max-width: 1500px) {
    .en-greetings-text {
        width: 80%;
    }
}
@media (max-width: 1400px) {
    .en-greetings-text {
        width: 70%;
    }
}
@media (max-width: 1300px) {
    .en-greetings-text {
        width: 50%;
    }
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .pc-only { display: none !important; }
    .mo-only { display: block !important; }
    span.mo-only, br.mo-only { display: auto !important; display: inline !important; }

    .en-banner {
        height: auto;
        align-items: flex-end;
        margin-bottom: 120px;
    }

    .en-banner-img {
        object-position: 70% center;
    }

    .en-banner-content {
        bottom: 60px;
        top: auto;
        left: 16px;
        width: calc(100% - 32px);
        padding-left: 0;
        gap: 8px;
        transform: none;
    }

    .en-banner-tag {
        font-size: 12px;
        line-height: 20px;
    }

    .en-banner-title {
        font-family: 'Ria Sans', sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: -0.04em;
        word-break: keep-all;
    }

    .en-banner-title p {
        line-height: 30px;
    }

    .en-banner-description {
        font-size: 12px;
        font-weight: 500;
        line-height: 20px;
        white-space: pre-wrap;
        word-break: keep-all;
    }

    .en-banner-pager {
        left: 20px;
        bottom: 60px;
        gap: 12px;
    }

    .en-banner-pager .dot {
        width: 8px;
        height: 8px;
    }

    .en-banner-pager .dot.active {
        width: 48px;
    }

    .en-greetings {
        margin-top: 0;
        margin-bottom: 120px;
        height: auto;
        flex-direction: column;
        gap: 40px;
    }

    .en-greetings-bg {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        right: auto;
        z-index: 1;
    }

    .en-greetings-content {
        width: 100%;
        padding: 0 20px;
        gap: 24px;
        box-sizing: border-box;
    }

    .en-greetings-title h2 {
        font-size: 20px;
        text-align: left;
        word-break: keep-all;
    }

    .en-greetings-card {
        gap: 32px;
    }

    .en-greetings-text {
        width: 100%;
        margin: 0;
        font-size: 12px;
        line-height: 1.6;
        color: #444;
    }

    .en-greetings-signature {
        gap: 16px;
    }

    .en-greetings-signature .signature-title p {
        font-size: 16px;
    }

    .en-greetings-signature .director-sign img {
        width: 138px;
        height: auto;
    }

    .en-governance {
        padding: 0 20px;
        margin-bottom: 120px;
        width: 100%;
        box-sizing: border-box;
    }

    .en-governance-title-block {
        margin-bottom: 40px;
    }
    .en-governance-title {
        margin: 0;
        margin-bottom: 24px;
        font-size: 28px;
    }

    .en-governance-description {
        margin: 0;
        font-size: 12px;
        text-align: left;
    }

    /* Goal & Process Mobile */
    .en-goal-process {
        margin-bottom: 120px;
    }

    .en-goal-process-title {
        margin-bottom: 24px;
        font-size: 20px;
    }

    .en-goal-process-description {
        padding: 0 20px;
        margin: 0;
        font-size: 14px;
        word-break: keep-all;
    }

    .en-goal-process-cards-bg {
        padding: 60px 20px;
        margin-top: 40px;
        border-radius: 0;
        max-width: none;
    }

    .en-goal-process-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 20px; /* Increased gap for lines */
        position: relative;
    }

    .en-goal-process-card {
        width: 100%;
        max-width: 147px;
        height: auto;
        gap: 16px;
        position: relative;
        box-sizing: border-box;
    }

    /* Decorative lines for mobile cards */
    /* Horizontal line between 1 & 2 */
    .en-goal-process-card:nth-child(1)::after {
        content: '';
        position: absolute;
        top: 50px; /* Center of icon roughly */
        right: -35px;
        width: 20px;
        height: 1px;
        background-color: rgba(252, 252, 252, 0.5);
    }

    /* Vertical lines under 1 & 2 */
    .en-goal-process-card:nth-child(1)::before,
    .en-goal-process-card:nth-child(2)::before {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 50%;
        width: 1px;
        height: 20px;
        background-color: rgba(252, 252, 252, 0.5);
    }

    /* Vertical lines under 3 & 4 */
    .en-goal-process-card:nth-child(3)::before,
    .en-goal-process-card:nth-child(4)::before {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 50%;
        width: 1px;
        height: 20px;
        background-color: rgba(252, 252, 252, 0.5);
    }

    /* Horizontal line between 5 & 6 */
    .en-goal-process-card:nth-child(5)::after {
        content: '';
        position: absolute;
        top: 50px;
        right: -35px;
        width: 20px;
        height: 1px;
        background-color: rgba(252, 252, 252, 0.5);
    }

    .en-goal-process-card img {
        width: 48px;
        height: 48px;
        position: relative;
        z-index: 2;
    }

    .en-goal-process-card span {
        font-size: 14px;
        line-height: 1.3;
    }

    .en-goal-process-timeline {
        flex-direction: column;
        gap: 0;
        margin-top: 40px;
        padding: 0 20px;
        text-align: left;
    }

    .en-timeline-phase {
        width: 100%;
        gap: 8px;
    }

    .en-timeline-phase:first-child::after {
        display: none;
    }

    /* Add horizontal separator between phases on mobile */
    .en-timeline-phase:nth-child(1) {
        padding-bottom: 25px;
    }
    .en-timeline-phase:nth-child(2) {
        border-top: 1px solid #E2E2E2;
        padding-top: 25px;
    }

    .en-timeline-header {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .en-timeline-phase-title {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
    }

    .en-timeline-phase-period {
        font-size: 12px;
        font-weight: 500;
        color: #707070;
    }

    .en-timeline-phase-subtitle {
        font-size: 16px;
        line-height: 1.4;
        color: #00754A;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .en-timeline-details {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 16px;
    }

    .en-timeline-item {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
		line-height: 20px;
		font-weight: 500;
		font-family: Pretendard;
		color: #222;
    }

    .en-timeline-item .label {
        font-weight: 500;
        color: #222;
    }

    .en-timeline-item .value {
        font-weight: 700;
        color: #222;
    }
    /* Project Flow Mobile */
    .en-project-flow-section {
        margin-bottom: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .en-project-flow-title {
        font-size: 20px;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .en-project-flow-diagram {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        display: block;
        box-sizing: border-box;
        white-space: nowrap;
        padding: 0 20px;
    }

    .en-project-flow-diagram img {
        width: auto !important;
        max-width: none !important;
        height: calc(100vh - 130px) !important;
        display: inline-block;
        vertical-align: middle;
    }

    /* Vision Section Mobile */
    .en-vision-section {
        margin-bottom: 60px;
    }

    .en-vision-container {
        gap: 40px;
    }

    .en-vision-overview {
        gap: 16px;
    }
    
    .en-vision-overview .en-vision-header {
        gap: 24px;
    }
    
    .en-vision-overview .en-vision-title-group {
        gap: 8px;
    }
    
    .en-vision-overview .icon img {
        width: 32px;
        height: 32px;
    }

    .en-vision-overview .subtitle {
        font-size: 14px;
    }

    .en-vision-main-head .en-vision-main-title {
        font-size: 20px;
        text-align: center;
        padding: 0 20px;
        word-break: keep-all;
    }

    .en-vision-overview .main-title {
        font-size: 20px;
        text-align: center;
        padding: 0 20px;
        word-break: keep-all;
    }

    .en-vision-overview .description {
        font-size: 12px;
        padding: 0 20px;
        text-align: center;
    }

    .en-vision-body {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .en-vision-card {
        padding: 24px;
        gap: 16px;
        cursor: pointer;
    }

    .en-vision-card.is-active {
        gap: 24px;
    }

    .en-vision-card-header {
        cursor: pointer;
    }

    .en-vision-card .en-vision-compare-section {
        display: none;
    }

    .en-vision-card.is-active .en-vision-compare-section {
        display: flex;
    }

    .en-vision-card-title {
        font-size: 20px;
    }

    .en-vision-compare-card {
        padding: 16px;
    }

    .en-vision-compare-card ul {
        margin-left: 20px;
    }

    .en-vision-compare-tag-as-is,
    .en-vision-compare-tag-to-be {
        padding: 4px 10px;
        font-size: 12px;
    }

    .en-vision-compare-text {
        font-size: 12px;
    }
}
