/* Contact Us Page Styles */
.contact-form-wrapper {
    width: 640px;
    max-width: 640px;
    height: 553px;
    padding: 32px 32px 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 0 0 0 auto;
    box-sizing: border-box;
    opacity: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 24px;
}

.form-group {
    width: 576px;
    height: 85px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
}

.contact-us-page {
    background-color: #ffffff;
}

.contact-info-section {
    width: 100%;
    padding: 40px 0 120px;
}

.contact-info-container {
    width: 1280px;
    max-width: calc(100vw - 80px);
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 400px;
    font-family: 'DM Sans', 'Pretendard', sans-serif;
}

.contact-info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info-icon-wrap {
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon-wrap svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.contact-info-label-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
    color: #242424;
}

.contact-info-value {
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    color: #8D8D8F;
    line-height: 100%;
    letter-spacing: 0;
}

/* Container */
.contact-form-section > .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 0;
    pointer-events: none;
}

.contact-content {
    position: absolute;
    top: 185px;
    left: 50%;
    z-index: 100;
    width: 1280px;
    max-width: calc(100vw - 80px);
    transform: translateX(-50%);
    pointer-events: auto;
}

.form-title {
    margin: 24px 0 32px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: 0.035em;
    color: #242424;
    text-align: center;
    height: auto;
}

.form-title.half-highlight {
    background: none;
    display: block;
}

.form-title.half-highlight::before {
    content: none;
}

.form-label {
    display: block;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    font-variant-numeric: oldstyle-nums proportional-nums;
    color: #242424;
    margin-bottom: 0;
}

.required {
    color: #F73131;
    margin-left: 4px;
}

.form-input,
.form-textarea {
    width: 576px;
    padding: 8px 12px;
    border: 1px solid #E3E4E5;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    transition: all 0.3s ease;
    box-sizing: border-box;
    opacity: 1;
}

.form-input {
    height: 56px;
}

.form-textarea {
    height: 80px;
    display: block;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border: 2px solid var(--primary-color, #6aabda);
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.14);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #747475;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group-message {
    height: auto;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 32px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
     
    font-size: 16px;
}

.form-checkbox {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 1.5px solid #A7A7A8;
    border-radius: 4px;
    background-color: white;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.form-checkbox:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.form-group-submit {
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn {
    min-width: 156px;
    padding: 12px 64px;
    background: var(--highlight-color, rgba(91, 155, 213, 0.24));
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.submit-btn.active {
  background-color: var(--primary-color);
  cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 155, 213, 0.28);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Info Styles */
.contact-info-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-title {
     
    font-weight: 700;
    font-size: 28px;
    color: #060923;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h3 {
     
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.info-content p {
     
    font-size: 16px;
    color: #747475;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1439px) {
    .contact-content {
        top: 200px;
    }

    .contact-form-section > .container {
        max-width: calc(100vw - 80px);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .contact-info-section {
        padding-top: 333px;
        padding-bottom: 52px;
    }

    .contact-content {
        top: 171px;
    }

    .contact-info-container,
    .contact-form-section > .container,
    .contact-content {
        max-width: 540px;
    }

    .contact-info-panel {
        gap: 32px;
    }

    .contact-info-label {
        gap: 14px;
        margin-bottom: 10px;
    }

    .contact-form-wrapper {
        width: 540px;
        max-width: none;
        height: 470px;
        padding: 24px;
        gap: 20px;
        margin: 0 auto;
        box-shadow: 8px 8px 40px rgba(0, 0, 0, 0.04);
    }

    .contact-form {
        width: 100%;
        align-items: center;
        gap: 20px;
    }

    .form-group {
        width: 492px;
        height: 70px;
        align-items: flex-start;
        align-self: stretch;
    }

    .form-label {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: 0.04em;
        opacity: 0.72;
    }

    .required {
        display: none;
    }

    .form-input,
    .form-textarea {
        width: 492px;
        padding: 9px 12px;
        border: 1px solid #E3E4E6;
        font-family: 'Pretendard', sans-serif;
        font-size: 16px;
        line-height: 140%;
        color: #242424;
        transition: border-color 0.15s;
        outline: none;
        align-self: auto;
    }

    .form-input {
        height: 40px;
    }

    .form-group-message {
        height: 94px;
    }

    .form-textarea {
        height: 64px;
        min-height: 64px;
        padding: 8px 12px;
        resize: none;
    }

    .form-input:focus,
    .form-textarea:focus {
        border: 1px solid #6AABDA;
        box-shadow: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #8D8D8F;
    }

    .submit-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: 117px;
        height: 38px;
        padding: 8px 32px;
        background: #6AABDA;
        font-family: 'Pretendard', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 140%;
        cursor: pointer;
        transition: background 0.15s;
    }

    .submit-btn.active {
        background-color: #6AABDA;
        cursor: pointer;
    }

    .submit-btn:disabled {
        cursor: not-allowed;
        opacity: 0.72;
    }

    .submit-btn:hover {
        background: #5B9BD5;
        transform: none;
        box-shadow: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .contact-info-container {
        width: 768px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .contact-info-panel {
        width: 540px;
        max-width: calc(100vw - 48px);
        gap: 24px;
    }

    .contact-info-item {
        width: 540px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact-info-label {
        gap: 12px;
        margin-bottom: 0;
    }

    .contact-info-label-text,
    .contact-info-value {
        font-size: 16px;
        line-height: 19px;
    }

    .contact-info-label-text {
        font-weight: 600;
    }

    .contact-info-value {
        font-weight: 400;
        max-width: 371px;
    }
}

@media (max-width: 767px) {
    .contact-info-section {
        padding-top: 331px;
        padding-bottom: 60px;
    }

    .contact-content {
        top: 155px;
    }

    .contact-info-container,
    .contact-form-section > .container,
    .contact-content {
        max-width: calc(100vw - 25px);
    }

    .contact-info-panel {
        gap: 24px;
    }

    .contact-info-label {
        gap: 12px;
        margin-bottom: 8px;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: none;
        height: auto;
        padding: 12px;
        gap: 16px;
        margin: 0 auto;
        box-shadow: 8px 8px 40px rgba(0, 0, 0, 0.04);
    }

    .contact-form {
        width: 100%;
        align-items: center;
        gap: 16px;
    }

    .form-group {
        width: 100%;
        height: auto;
        align-items: flex-start;
        align-self: auto;
    }

    .form-label {
        font-size: 14px;
        opacity: 0.72;
    }

    .required {
        display: none;
    }

    .form-input,
    .form-textarea {
        width: 100%;
        padding: 9px 12px;
        border: 1px solid #E3E4E6;
        font-family: 'Pretendard', sans-serif;
        font-size: 14px;
        line-height: 140%;
        color: #242424;
        transition: border-color 0.15s;
        outline: none;
        align-self: auto;
    }

    .form-input {
        height: 40px;
    }

    .form-textarea {
        height: 64px;
        min-height: 64px;
        padding: 8px 12px;
        resize: none;
    }

    .form-input:focus,
    .form-textarea:focus {
        border: 1px solid #6AABDA;
        box-shadow: none;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #8D8D8F;
    }

    .submit-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: 110px;
        height: 36px;
        padding: 8px 32px;
        background: #6AABDA;
        font-family: 'Pretendard', sans-serif;
        font-size: 14px;
        line-height: 140%;
        cursor: pointer;
        transition: background 0.15s;
    }

    .submit-btn.active {
        background-color: #6AABDA;
        cursor: pointer;
    }

    .submit-btn:disabled {
        cursor: not-allowed;
        opacity: 0.72;
    }

    .submit-btn:hover {
        background: #5B9BD5;
        transform: none;
        box-shadow: none;
    }
}
