/* 기본 스타일 및 폰트 설정 */
:root {
    --primary-color: #007bff;
    --dark-gray: #212529;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --header-height: 70px;
    --footer-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 전체 페이지 레이아웃 (상/하단 고정, 중앙 스크롤) */
body {
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    overflow-y: auto;
    padding-top: var(--header-height);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 상단 헤더 스타일 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--dark-gray);
    color: white;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
}

.logo a {
    color: white;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 언어 전환 버튼 스타일 */
.lang-button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
}

.lang-button:hover {
    background: white;
    color: var(--dark-gray);
    transform: translateY(-2px);
}

.lang-button:active {
    transform: translateY(0);
}

/* 1. 히어로 섹션 스타일 */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x600/555555/ffffff?text=EAST+Automation');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 450px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}


/* 2, 3. 콘텐츠 섹션 공통 스타일 */
.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background-color: var(--light-gray);
}

.layout-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content, .image-content {
    flex: 1;
}

.text-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.layout-split.reverse {
    flex-direction: row-reverse;
}


/* 하단 푸터 스타일 */
.site-footer {
    height: var(--footer-height);
    background-color: var(--dark-gray);
    color: #aaa;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* ============================
   페이지 타이틀 섹션
   ============================ */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-title-section h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-title-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ============================
   텍스트 중앙 정렬 콘텐츠
   ============================ */
.text-center-content {
    text-align: center;
    margin-bottom: 60px;
}

.text-center-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.text-center-content p {
    font-size: 1.1rem;
    color: #666;
}

/* ============================
   솔루션 그리드
   ============================ */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.solution-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.solution-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.solution-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    padding: 0;
}

.solution-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================
   산업별 적용 사례
   ============================ */
.industry-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.industry-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.industry-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.industry-item p {
    font-size: 0.95rem;
    color: #666;
}

/* ============================
   CTA 박스
   ============================ */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ============================
   교육 프로그램 페이지
   ============================ */
.education-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.feature-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ============================
   교육 과정 카드
   ============================ */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.course-card {
    background: white;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.course-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.course-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(0,123,255,0.2);
}

.course-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.course-level {
    display: inline-block;
    background: #e7f3ff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.course-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.course-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.course-info span {
    font-size: 0.9rem;
    color: #666;
}

.course-curriculum {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.course-curriculum li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px dashed #e0e0e0;
}

.course-curriculum li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    line-height: 1;
}

.course-curriculum li:last-child {
    border-bottom: none;
}

.course-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #e7f3ff;
}

/* ============================
   교육 일정 테이블
   ============================ */
.schedule-table {
    margin-top: 40px;
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table th,
.schedule-table td {
    padding: 18px 20px;
    text-align: left;
}

.schedule-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.schedule-table td {
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background-color: var(--light-gray);
}

.status-open {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-upcoming {
    display: inline-block;
    background: #ffc107;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================
   수강생 후기
   ============================ */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9rem;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.testimonial-author strong {
    color: var(--dark-gray);
    font-weight: 700;
}

/* ============================
   기술 지원 페이지
   ============================ */
.emergency-section {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 60px 20px;
}

.emergency-box {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.emergency-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.emergency-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.emergency-box > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.emergency-contacts .contact-item {
    text-align: center;
}

.emergency-contacts strong {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.emergency-phone {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: #dc3545;
}

.emergency-kakao {
    display: inline-block;
    background: #fee500;
    color: #3c1e1e;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.emergency-note {
    font-size: 0.85rem;
    color: #999;
    margin-top: 20px;
}

.support-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* ============================
   지원 프로세스
   ============================ */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}

.process-step {
    background: white;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    min-width: 180px;
    flex: 1;
    max-width: 200px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================
   지원 계약 플랜
   ============================ */
.plan-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.plan-card {
    background: white;
    padding: 40px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.plan-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 6px 25px rgba(0,123,255,0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e7f3ff;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: #999;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    font-size: 0.9rem;
}

.plan-features li.included {
    color: #555;
}

.plan-features li.excluded {
    color: #bbb;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 14px 0;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
}

.plan-button:hover {
    background: var(--primary-color);
    color: white;
}

.plan-button.primary {
    background: var(--primary-color);
    color: white;
}

.plan-button.primary:hover {
    background: #0056b3;
}

/* ============================
   FAQ
   ============================ */
.faq-list,
.faq-preview {
    margin-top: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* ============================
   문의하기 페이지
   ============================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-area h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.contact-form-area > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-top: 3px;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}

/* ============================
   연락처 정보 영역
   ============================ */
.contact-info-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.contact-info-box > p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-details {
    flex: 1;
}

.method-details strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.method-details a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.method-time {
    display: block;
    font-size: 0.8rem;
    color: #999;
}

.emergency-contact {
    background: #fff5f5;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #dc3545;
}

.emergency-contact .method-details a {
    color: #dc3545;
    font-size: 1.5rem;
}

.emergency-number {
    color: #dc3545 !important;
}

.contact-info-box address {
    font-style: normal;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

.map-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.map-button:hover {
    background: #0056b3;
}

.business-hours {
    width: 100%;
    font-size: 0.9rem;
    color: #666;
}

.business-hours td {
    padding: 8px 0;
}

.business-hours td:first-child {
    font-weight: 600;
    color: var(--dark-gray);
    width: 40%;
}

.hours-note {
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

/* ============================
   지도 섹션
   ============================ */
.map-section {
    padding: 60px 20px;
}

.map-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-placeholder {
    background: #f0f0f0;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    font-size: 1.1rem;
    color: #999;
}

.map-address {
    margin-top: 10px;
    font-size: 0.9rem !important;
    color: #666 !important;
}

/* 반응형 웹 디자인 (모바일 환경) */
@media (max-width: 768px) {
    /* 모바일 헤더 높이가 가변적이므로 패딩을 늘려줍니다 */
    .site-main {
        padding-top: 120px; /* 로고와 메뉴가 두 줄로 표시될 것을 대비해 여유 공간 확보 */
    }

    /* 헤더 높이를 auto로 설정하여 콘텐츠가 넘치지 않도록 합니다 */
    .site-header {
        height: auto;
    }
    
    .site-header .container {
        flex-direction: column;
        padding: 15px 0; /* 상하 여백 추가 */
    }

    .main-nav ul {
        margin-top: 15px; /* 로고와의 간격 */
    }

    .main-nav ul li {
        margin: 0 10px;
    }

    .main-nav a {
        font-size: 0.7rem; /* 모바일에서 메뉴 글자 크기를 줄임 */
    }

    .lang-button {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-top: 5px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .layout-split, .layout-split.reverse {
        flex-direction: column;
        gap: 30px; /* 모바일에서 섹션 내 간격 조정 */
    }

    .text-content {
        text-align: center;
    }

    .text-content h3 {
        font-size: 1.8rem;
    }

    .site-footer .container {
        flex-direction: column;
        gap: 5px;
        padding: 10px 0; /* 모바일 푸터 여백 추가 */
    }

    /* 푸터 높이를 auto로 조정 */
    .site-footer {
        height: auto;
    }

    /* 페이지 타이틀 섹션 */
    .page-title-section h2 {
        font-size: 2rem;
    }

    .page-title-section p {
        font-size: 1rem;
    }

    .text-center-content h3 {
        font-size: 1.8rem;
    }

    /* 그리드 레이아웃을 단일 컬럼으로 */
    .solution-grid,
    .education-features,
    .course-list,
    .support-services,
    .plan-comparison,
    .industry-list,
    .testimonial-list {
        grid-template-columns: 1fr;
    }

    /* 문의하기 레이아웃 */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    /* 프로세스 플로우 */
    .process-flow {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    /* 긴급 연락처 */
    .emergency-contacts {
        flex-direction: column;
        gap: 20px;
    }

    /* 테이블 */
    .schedule-table {
        font-size: 0.75rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 12px 10px;
    }

    /* CTA 박스 */
    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .page-title-section h2 {
        font-size: 1.6rem;
    }

    .text-center-content h3 {
        font-size: 1.5rem;
    }
}