/* Technical Training Page Stylesheet
  Figma에서 추출된 스타일(폰트, 색상 등)을 유지하면서
  유지보수와 반응형을 위해 Flexbox 기반으로 레이아웃을 재구성했습니다.
*/

/* 'Pretendard' 폰트는 header.css나 전역 CSS에 이미 포함되어 있다고 가정합니다. */

/* Main Container */
.tech-training-container {
    max-width: 1800px;
    margin: 0 auto;
    /* 좌우 패딩을 늘려, 가장자리 fade-out 효과에 텍스트가 겹치지 않도록 합니다. */
    padding: 150px 0px;
    background-color: #ffffff; /* 기본 배경색 */
    position: relative; /* ::before, ::after 가상 요소의 기준점 */
    z-index: 1;
    overflow: hidden; /* 모서리 밖으로 나가는 가상 요소를 숨깁니다. */
}

/* 배경 이미지 (그레이스케일) */
.tech-training-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/tech_page_images/people.svg) no-repeat center center;
    background-size: cover;
    filter: grayscale(100%) blur(5px);
    opacity: 0.2; /* 배경 이미지를 30% 불투명도로 설정하여 하얗게 보이도록 함 */
    z-index: -2; /* 콘텐츠보다 뒤에 위치 */
}

/* 좌우 흰색 페이드 아웃 오버레이 */
.tech-training-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 좌우 가장자리를 흰색으로 점차 투명하게 만드는 그라데이션 */
    background: linear-gradient(to right, white, transparent 20%, transparent 80%, white);
    z-index: -1; /* 배경 이미지와 콘텐츠 사이에 위치 */
}

/* Common Section Styles */
section {
    margin-bottom: 150px;
}

section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.5; /* 63px */
    letter-spacing: -0.01em;
    color: #050505;
    margin: 0 0 0px 0;
    
}

.section-paragraph {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px; /* 167% */
    letter-spacing: -0.01em;
    color: #000000;
    margin: 0;
    text-align: justify;
        word-break: keep-all;


}


/* 1. Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 60px; /* header와 콘텐츠 시작점 간격 */
    
}

.hero-left {
    flex-basis: 45%;
    max-width: 618px; /* Figma의 텍스트 박스 너비 */

}

.hero-right:lang(ko) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 618px; 
    text-align: justify;
        word-break: keep-all;

    margin-right: 100px;   
}

.hero-right:lang(en) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 618px;
    text-align: justify;
        word-break: keep-all;

    margin-right: 100px;   
}


.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 70px;
    line-height: 1.1; /* 줄 간격 조정 */
    /* letter-spacing: -0.01em; */
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.hero-subtitle {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: -0.01em;
    color: #888888;
    margin-top: 25px;
}

.main-headline {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1; /* 줄 간격 조정 */
    letter-spacing: -0.01em;
    color: #050505;
    margin: 0 0 40px 0;
}

/* 2. Info Section */
.info-section {
    display: flex;
    gap: 60px; /* 이미지와 텍스트 사이의 간격 */
    align-items: flex-start;
    max-width: 1600px;
    margin: 100px auto;
}

.info-left {
    flex: 1;
}

.info-left img {
    width: 100%;
    height: auto;
    max-width: 777px;
    display: block;
}

.info-right {
    flex: 1;
    max-width: 618px;
}

.info-block {
    margin-bottom: 80px;
}

.info-block:last-child {
    margin-bottom: 0;
}


/* 3. Training Content Section */
.training-content-section {
    text-align: left;
    max-width: 1600px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}



.training-items-wrapper {
    background: #FFFFFF;
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    padding: 60px 40px;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 60px;
    margin-top: 60px;
}


.training-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 210px;
    gap: 16px;
}


.training-item img {
    height: 70px;
    width: auto;
    margin-bottom: 0;
    object-fit: contain;
}


.training-item p {
    font-family: 'Pretendard', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #000000;
    margin: 0;
    white-space: pre-line;
}

/* =================================== */
/* Responsive Styles         */
/* =================================== */

/* @media (max-width: 1200px) {
    .hero-section, .info-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    .hero-right {
        margin-right: 0;
    }
    .info-section {
        gap: 30px;
    }
    .training-content-section {
        padding-left: 40px;
        padding-right: 40px;
    }
} */


@media (max-width: 1024px) {
    .tech-training-container {
        padding: 100px 0;
    }
    .hero-section {
        flex-direction: column;
        gap: 40px;
        padding-top: 0;
    }
    .hero-title {
        font-size: 60px;
        line-height: 1;
    }
    .hero-subtitle {
        font-size: 28px;
    }
    .main-headline {
        font-size: 35px;
        line-height: 1.2;
    }
    .info-section {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .info-left, .info-right {
        max-width: 100%;
        padding: 0 0px;
    }

    .training-items-wrapper {
        border-radius: 40px;
        padding: 40px 20px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .training-item {
        flex-direction: row;
        /* min-width: 180px; */
        gap: 10px;
        margin-bottom: 20px;
        justify-content: left;

    }
    .training-item img {
        height: 50px;
    }
    .training-item p {
        font-size: 16px;
    }
    .hero-right:lang(ko) {
    display: flex;
    align-items: flex-start;
    text-align: justify;
    word-break: keep-all;
    width: 100%
    }
    .hero-right:lang(en) {
    display: flex;
    align-items: flex-start;
    text-align: justify;
    word-break: keep-all;

    width: 100%
    }
    
}