/* =========================================
   Base Styles with Roboto Font
========================================= */
:root {
    --ck-orange: #ff6c00;
    --ck-orange-deep: #e55a00;
    --ck-dark: #111;
    --ck-gray: #6b7280;
    --ck-light: #f6f7f9;
    --container: 1160px;
    --radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.top_box {
    background-image: url(/wp-content/themes/ck/images/language/admission_topbg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1920px 450px;
    background-attachment: fixed;
    max-height: 360px
}

/* =========================================
   Common Styles
========================================= */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
    color: #222;
}

.highlight {
    color: var(--ck-orange);
    font-weight: 500;
}

/* =========================================
   How to Apply Section
========================================= */
.how-to-apply-section {
    background: #fff;
    padding: 60px 0;
}

.tab-navigation {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    background: none;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--ck-orange);
    border-bottom-color: var(--ck-orange);
}

.tab-button:hover {
    color: var(--ck-orange);
}

.tab-content {
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

.tab-panel ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.tab-panel li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    font-size: 18px;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.tab-panel li:last-child {
    border-bottom: none;
}

.tab-panel li::before {
    content: "•";
    color: var(--ck-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
}

.notes {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--ck-orange);
}

.notes p {
    margin: 6px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   Process Section
========================================= */
.process-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 75px;
    right: -15px;
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.process-step:nth-child(4n)::after {
    display: none;
}

.process-step:nth-child(4)::after {
    display: block;
}

.process-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.process-text h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    color: #222;
}

.process-text p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.process-arrow {
    font-size: 20px;
    color: var(--ck-orange);
    font-weight: bold;
}

/* =========================================
   Guideline Section
========================================= */
.guideline-section {
    background: #fff;
    padding: 80px 0;
}

.guideline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.guideline-item {
    text-align: center;
}

.guideline-thumbnail {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 3/4;
}

.guideline-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ck-orange);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
}

.guideline-button {
    background: var(--ck-orange);
    color: #fff;
    display: inline-block;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guideline-button:hover {
    background: var(--ck-orange-deep);
    transform: translateY(-2px);
}

/* =========================================
   Contact Section
========================================= */
.contact-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--ck-orange);
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-bottom: 8px;
}

.contact-info .highlight {
    color: #333;
    font-weight: 600;
    display: block;
}

/* =========================================
   FAQ Section
========================================= */
.faq-section {
    background: #fff;
    padding: 80px 0;
}

.faq-list {
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--ck-orange);
}

.faq-q {
    background: var(--ck-orange);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 20px 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.faq-english {
    font-weight: 600;
    color: #333;
}

.faq-korean {
    font-weight: 400;
    color: #666;
}

/* =========================================
   Apply Button
========================================= */
.apply-button-container {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.apply-button {
    background: var(--ck-orange);
    color: #fff;
    border: none;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 300px;
}

.apply-button:hover {
    background: var(--ck-orange-deep);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 116, 0, 0.3);
}

/* =========================================
   Responsive Design
========================================= */

/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
    }
    
    .process-step::after {
        content: '';
        position: absolute;
        top: 40px;
        right: 0;
        width: 0;
        height: 0;
        border-left: 8px solid #333;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    
    .process-step:nth-child(8)::after {
        display: none;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
    }
    
    .process-icon img {
        width: 40px;
        height: 40px;
    }
    
    .guideline-grid {
        gap: 30px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    
    .how-to-apply-section,
    .process-section,
    .guideline-section,
    .contact-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-width: 100%;
    }
    
    .tab-button {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .tab-button.active {
        border-bottom-color: var(--ck-orange);
    }
    
    .tab-content {
        max-width: 100%;
    }
    
    
    .tab-panel h3 {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .tab-panel li {
        font-size: 16px;
    }
    
    .notes {
        padding: 16px;
        margin-top: 20px;
    }
    
    .notes p {
        font-size: 15px;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 20px;
    }
    
    .process-step::after {
        content: '';
        position: absolute;
        top: 50px;
        right: 0;
        width: 0;
        height: 0;
        border-left: 8px solid #333;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }
    
    
    .process-step:nth-child(8)::after {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    
    .process-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
        margin-right: 0;
    }
    
    .process-icon img {
        width: 60px;
        height: 60px;
    }
    
    .guideline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info p {
        font-size: 20px;
        margin-bottom: 0;
    }
    
    .contact-info strong {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .faq-question {
        padding: 20px 0;
    }
    
    .faq-text {
        font-size: 20px;
    }
    
    .apply-button {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    
    .how-to-apply-section,
    .process-section,
    .guideline-section,
    .contact-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .tab-button {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .tab-panel {
        padding: 20px 16px;
    }
    
    .tab-panel h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .tab-panel li {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .notes {
        padding: 14px;
        margin-top: 18px;
    }
    
    .notes p {
        font-size: 14px;
    }
    
    
    .guideline-thumbnail {
        aspect-ratio: 2/3;
    }
    
    .guideline-button {
        padding: 10px 20px;
        font-size: 18px;
    }
    
    .contact-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }
    
    .contact-info p {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .contact-info strong {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .faq-question {
        padding: 12px 0;
    }
    
    .faq-q {
        width: 20px;
        height: 20px;
        font-size: 18px;
        margin-right: 12px;
    }
    
    .faq-text {
        font-size: 20px;
    }
    
    .faq-answer p {
        padding: 0 0 16px 32px;
        font-size: 20px;
    }
    
    .apply-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}
