/*ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

 * contact *
    
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ*/
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.contact-form-wrapper {
    flex: 1;
    background: linear-gradient(135deg, rgba(117, 206, 222, 0.5) 0%, rgba(255, 250, 182, 0.5) 90%);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 20px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-content {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-single-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.form-group select.has-value {
    color: #000;
}

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

.form-group select option {
    padding: 8px;
    color: #000;
}

.error-message {
    display: none;
    color: #f5365c;
    font-size: 12px;
    margin-top: 4px;
    padding-left: 6px;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #f5365c;
}

.form-group.error .error-message {
    display: block;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1.5px solid #cfd5d7;
    border-radius: 3px;
    background: #fff;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + label .checkbox-custom {
    background: #0066cc;
    border-color: #0066cc;
}

.checkbox-item input[type="checkbox"]:checked + label .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item label {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.submit-btn {
    background: #fff;
    color: #00244d;
    border: 2px solid #00244d;
    padding: 10px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 124px;
}

.submit-btn:hover {
    background: #00244d;
    color: #fff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        padding: 0 16px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .form-title {
        font-size: 20px;
    }
}

/* Form notification */
#form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(200%);
    transition: all 0.3s ease-in-out;
}

.notification-success {
    background-color: #4CAF50;
    color: white;
}

.notification-error {
    background-color: #F44336;
    color: white;
}