/**
 * Component Styles (From Figma Design)
 * 재사용 가능한 UI 컴포넌트
 */

/* ==========================================================================
   BUTTONS (통합 관리)
   ========================================================================== */

/* --- CTA Buttons (Rounded) --- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 300px;
    font-family: var(--font-main);
    line-height: 1.6;
    font-style: normal;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

/* CTA Button Sizes */
.btn-cta-s {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
}

.btn-cta-s.has-arrow {
    padding: 8px 22px;
    gap: 12px;
}

.btn-cta-l {
    font-size: 20px;
    font-weight: 600;
    padding: 18px 80px;
}

.btn-cta-l.has-arrow {
    padding: 18px 30px;
    gap: 22px;
}

/* CTA Button Variants */
.btn-white-line {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #FFFFFF;
}

.btn-white-line:hover,
.btn-white-line:active {
    background-color: #FFFFFF;
    color: #1B1B1B;
}

.btn-black-line {
    background-color: transparent;
    border: 1px solid #2D333C;
    color: #2D333C;
}

.btn-black-line:hover,
.btn-black-line:active {
    background-color: #2D333C;
    color: #FFFFFF;
}

.btn-point-line {
    background-color: transparent;
    border: 1px solid #0068B7;
    color: #0068B7;
}

.btn-point-line:hover,
.btn-point-line:active {
    background-color: #0068B7;
    color: #FFFFFF;
}

.btn-white-fill {
    background-color: #FFFFFF;
    color: #1B1B1B;
    border: none;
}

.btn-white-fill:hover {
    opacity: 0.9;
}

.btn-black-fill {
    background-color: #2D333C;
    color: #FFFFFF;
    border: none;
}

.btn-black-fill:hover {
    opacity: 0.9;
}

.btn-point-fill {
    background-color: #0068B7;
    color: #FFFFFF;
    border: none;
}

.btn-point-fill:hover {
    opacity: 0.9;
}

/* Arrow Icon */
.btn-arrow-icon {
    display: inline-block;
}

.btn-cta-s .btn-arrow-icon {
    width: 9.75px;
    height: 7px;
}

.btn-cta-l .btn-arrow-icon {
    width: 20px;
    height: 14px;
}

.btn-arrow-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* ===== Checkbox ===== */
.checkbox {
    position: relative;
    display: inline-block;
}

.checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox__label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.checkbox__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 0.8px solid #9CA7B5;
    border-radius: 4px;
    background-color: transparent;
    transition: all var(--transition-fast);
}

.checkbox__input:checked + .checkbox__label .checkbox__box {
    background-color: #0068B7;
    border-color: #0068B7;
}

.checkbox__icon {
    width: 10px;
    height: 8px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.checkbox__input:checked + .checkbox__label .checkbox__icon {
    opacity: 1;
}

.checkbox__icon svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
}

.checkbox__icon svg path {
    fill: #FFFFFF;
}

.checkbox__text {
    font-size: 16px;
    color: var(--color-text);
}

/* ===== Radio Button ===== */
.radio {
    position: relative;
    display: inline-block;
}

.radio__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio__label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.radio__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid #9CA7B5;
    border-radius: 50%;
    background-color: transparent;
    transition: all var(--transition-fast);
}

.radio__input:checked + .radio__label .radio__circle {
    border-color: #0068B7;
}

.radio__inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #0068B7;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.radio__input:checked + .radio__label .radio__inner {
    opacity: 1;
}

.radio__text {
    font-size: 16px;
    color: var(--color-text);
}

/* ===== Tags ===== */
.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
}

/* Size S */
.tag--s {
    font-size: 14px;
    line-height: 1.5;
    padding: 4px 8px;
}

/* Size L */
.tag--l {
    font-size: 18px;
    line-height: 1.6;
    padding: 4px 10px;
}

/* Color 01 */
.tag--color-01 {
    background-color: #E5F4FF;
    color: #0068B7;
    backdrop-filter: blur(7px);
}

/* Color 02 */
.tag--color-02 {
    background-color: #FFFFFF;
    color: #0068B7;
    border: 0.6px solid #CBD4E1;
}

/* Color 03 */
.tag--color-03 {
    background-color: rgba(185, 251, 238, 0.6);
    color: #41CDA4;
    backdrop-filter: blur(7px);
}

/* View Tag(게시글 상세페이지 태그) */
.view-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background-color: #E5F4FF;
    backdrop-filter: blur(7px);
    color: #0068B7;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 6px;
    width: fit-content;
}

/* ===== Tab Content ===== */
.tab-content-btn {
    padding: 8px 16px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
    position: relative;
}

.tab-content-btn.active {
    color: var(--color-primary);
}

.tab-content-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-primary);
}

/* --- Circle Arrow Buttons --- */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    background-color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-arrow-s {
    width: 52px;
    height: 52px;
}

.btn-arrow-l {
    width: 77px;
    height: 77px;
}

.btn-arrow:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.btn-arrow:hover svg {
    fill: #FFFFFF;
}

.btn-arrow:hover svg path {
    stroke: #FFFFFF !important;
}

.btn-arrow svg {
    fill: var(--color-text);
    transition: fill var(--transition-fast);
}

/* --- Top (Scroll to Top) Button --- */
.btn-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #2C323A;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.btn-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--color-primary);
}

.btn-top:hover svg path {
    stroke: #FFFFFF;
}

.btn-top svg {
    width: 15px;
    height: 18px;
}

/* --- Search Button --- */
.btn-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
    height: 61px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1B1B1B;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background-color: #2C323A;
}

.btn-search svg {
    flex-shrink: 0;
}

/* --- Contact Button --- */
.btn-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 280px;
    padding: 18px 30px;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #1B1B1B;
    background-color: #FFFFFF;
    border: none;
    border-radius: 300px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

html[lang="en"] .btn-contact {
    font-size: 16px;
    line-height: 1.2;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-contact svg {
    flex-shrink: 0;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pagination-btn:hover {
    opacity: 0.7;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #B9C2CE;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background-color: #F6F8FC;
    color: #2C323A;
}

.pagination-number.active {
    font-weight: 600;
    color: #FFFFFF;
    background-color: #2C323A;
}

/* ==========================================================================
   SEARCH BAR
   ========================================================================== */
.search-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px;
    background-color: #F6F8FC;
    border-radius: 6px;
}

.search-select {
    flex-shrink: 0;
}

.search-select select,
.form-select {
    width: 139px;
    padding: 16px 20px;
    padding-right: 44px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #5A626E;
    background-color: #FFFFFF;
    border: 1px solid #D0D7DE;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='7' viewBox='0 0 14 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 6L13 1' stroke='%235a626e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1B1B1B;
    background-color: #FFFFFF;
    border: 1px solid #CBD4E1;
    border-radius: 6px;
}

.search-input::placeholder {
    color: #9CA7B5;
}

/* ==========================================================================
   CATEGORY TABS
   ========================================================================== */
.category-tabs-section {
    margin: 0 0 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #E5E5E5;
}

.category-tabs {
    display: flex;
    gap: 40px;
    justify-content: start;
    align-items: center;
}

.category-tab {
    padding: 10px 0;
    background-color: #ffffff;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tab:hover {
    color: #1B1B1B;
}

.category-tab.active {
    border-color: #0068B7;
    color: #1B1B1B;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
}

.modal-content {
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #2D2D2D;
    margin: 0 0 20px 0;
    padding-right: 40px;
}

.modal-image {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.modal-thumbnail:hover {
    border-color: #0068B7;
}

.modal-thumbnail.active {
    border-color: #0068B7;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
    max-width: 700px;
}

/* ==========================================================================
   FORM COMPONENTS
   ========================================================================== */

/* Info Box */
.info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F6F8FC;
    padding: 26px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 26px;
    height: 25px;
}

.info-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #2D333C;
    margin: 0;
}

html[lang="en"] .info-text {
    max-width: 700px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 270px;
    padding: 18px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid #0068B7;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #0068B7;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-download:hover {
    background: rgba(0, 104, 183, 0.1);
}

.btn-download svg {
    width: 15px;
    height: 15px;
}

/* Form Elements */
.form-notice {
    display: flex;
    justify-content: flex-end;
}

.form-notice p {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #1B1B1B;
    margin: 0;
}

.text-required {
    color: #0068B7;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid #1B1B1B;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.form-label {
    display: flex;
    align-items: center;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    color: #1B1B1B;
}

.form-label .text-required {
    margin-left: 2px;
}

.form-input {
    width: 100%;
    padding: 9px 14px;
    background-color: #ffffff;
    border: 1px solid #B9C2CE;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #1B1B1B;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #848D9A;
}

.form-input:focus {
    outline: none;
    border-color: #0068B7;
}

.form-textarea {
    width: 100%;
    min-height: 255px;
    padding: 9px 14px;
    background-color: #ffffff;
    border: 1px solid #B9C2CE;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #1B1B1B;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-textarea::placeholder {
    color: #848D9A;
}

.form-textarea:focus {
    outline: none;
    border-color: #0068B7;
}

/* File Upload */
.file-upload-header {
    display: flex;
    align-items: center;
    gap: 17px;
}

.file-upload-desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #848D9A;
    margin: 0;
}

.file-upload-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-file-upload {
    padding: 8px 16px;
    background-color: #ffffff;
    border: 0.589px solid #0068B7;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #0068B7;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-file-upload:hover {
    background-color: #0068B7;
    color: #ffffff;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background-color: #F1F4F9;
    border-radius: 10px;
}

.file-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #2D333C;
}

.btn-file-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-file-remove:hover {
    opacity: 0.7;
}

.btn-file-remove svg {
    width: 12px;
    height: 12px;
}

/* Terms Agreement & Checkbox */
.form-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-box {
    display: block;
    width: 20px;
    height: 20px;
    border: 0.8px solid #B9C2CE;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-box {
    background-color: #0068B7;
    border-color: #0068B7;
}

.checkbox-input:checked + .checkbox-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.checkbox-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #1B1B1B;
    user-select: none;
}

.btn-terms-view {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #5A626E;
    text-decoration: underline;
    text-underline-position: from-font;
    transition: color 0.3s ease;
}

.btn-terms-view:hover {
    color: #1B1B1B;
}

/* Form Submit */
.form-submit {
    margin-top: 16px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 270px;
    padding: 18px;
    background-color: #2D333C;
    border: none;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #1B1B1B;
}

/* Form Components Responsive Styles */
@media screen and (max-width: 1200px) {
    .info-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 1024px) {
    .info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 24px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .info-box {
        padding: 18px 20px;
        margin-bottom: 30px;
    }

    .info-content {
        gap: 12px;
    }

    .info-icon svg {
        width: 22px;
        height: 21px;
    }

    .info-text {
        font-size: 16px;
    }

    .btn-download {
        padding: 14px 24px;
        font-size: 14px;
    }

    .form-content {
        gap: 24px;
        padding-top: 24px;
    }

    .form-label {
        font-size: 16px;
    }

    .form-input,
    .form-textarea {
        font-size: 14px;
        padding: 8px 12px;
    }

    .form-textarea {
        min-height: 200px;
    }

    .file-upload-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .file-upload-desc {
        font-size: 14px;
    }

    .file-upload-area {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-file-upload {
        font-size: 14px;
        padding: 7px 14px;
    }

    .file-item {
        padding: 7px 14px;
        gap: 10px;
    }

    .file-name {
        font-size: 14px;
    }

    .checkbox-label,
    .btn-terms-view {
        font-size: 15px;
    }

    .form-submit {
        margin-top: 12px;
    }

    .btn-submit {
        padding: 16px 60px;
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .info-text {
        font-size: 14px;
    }

    .btn-download {
        padding: 12px 20px;
        font-size: 13px;
        gap: 12px;
    }

    .btn-download svg {
        width: 13px;
        height: 13px;
    }

    .form-label {
        font-size: 15px;
    }

    .checkbox-label,
    .btn-terms-view {
        font-size: 14px;
    }

    .btn-submit {
        padding: 14px 40px;
        font-size: 16px;
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
    /* Search Bar */
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-select select,
    .form-select {
        width: 100%;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    /* Category Tabs */
    .category-tab {
        font-size: 15px;
    }

    /* Contact Section */
    .contact-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .btn-contact {
        width: 100%;
        max-width: 280px;
    }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
    /* CTA Buttons */
    .btn-cta-l {
        font-size: 18px;
        padding: 16px 60px;
    }

    .btn-cta-l.has-arrow {
        padding: 16px 24px;
    }

    /* Top Button */
    .btn-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    /* Pagination */
    .pagination {
        gap: 20px;
        margin-top: 60px;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    /* Category Tabs */
    .category-tabs-section {
        margin: 0 0 40px;
    }

    .category-tabs {
        gap: 20px;
        flex-wrap: wrap;
    }

    .category-tab {
        font-size: 14px;
    }

    /* Modal */
    .modal-container {
        width: 95%;
        max-width: 500px;
    }

    .modal-content {
        padding: 16px;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .modal-thumbnail {
        width: 50px;
        height: 50px;
    }

    /* Contact Section */
    .contact-title {
        font-size: 24px;
    }

    /* Page Title Section */
    .page-title {
        font-size: 28px;
    }

    /* Content Preparation Section */
    .preparation-image {
        height: 250px;
        border-radius: 6px;
    }

    .preparation-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    /* Page Title Section */
    .page-title {
        font-size: 24px;
    }

    /* Content Preparation Section */
    .preparation-image {
        height: 200px;
    }

    .preparation-text {
        font-size: 16px;
    }

    .content-preparation-section .container {
        gap: 20px;
    }
}

/* ==========================================================================
   PAGE TITLE SECTION
   ========================================================================== */
.page-title-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
}

.page-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    color: #2D2D2D;
    margin: 0;
}

.text-primary {
    color: #0068B7;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .page-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .page-title-section {
        padding: 60px 0 80px;
    }
}

/* ==========================================================================
   CONTENT PREPARATION SECTION
   ========================================================================== */
.content-preparation-section {
    padding: 80px 0 200px;
    background-color: #ffffff;
}

.content-preparation-section .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.preparation-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    color: #2D2D2D;
    margin: 0;
    margin-bottom: 40px;
}

.preparation-title .title-highlight {
    color: #0068B7;
}

.preparation-image {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #F5F5F5;
}

.preparation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preparation-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    color: #2D333C;
    text-align: center;
    margin: 0;
}

/* Responsive */
@media screen and (max-width: 1440px) {
    .preparation-image {
        height: 400px;
    }

    .content-preparation-section {
        padding: 60px 0 150px;
    }

    .content-preparation-section .container {
        gap: 35px;
    }
}

@media screen and (max-width: 1200px) {
    .preparation-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .preparation-image {
        height: 350px;
    }

    .content-preparation-section .container {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .preparation-title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .content-preparation-section {
        padding: 60px 0 100px;
    }

    .content-preparation-section .container {
        gap: 25px;
    }
}

